Run Terminal commands before comparison / prepare Session = Script runs before the list is generated for the differences. Also runs on refresh session.
This is on a session by session level. You can run certain terminal commands before a sync or after, or both.
For example, if you are backing up application configuration files, but want to exclude certain settings, you can set up a "before" script to run and extract those keys and values and write them to a folder that you're backing up. On completion, you can run a different script to merge the settings back in from what you just synced.
!! This is different from the context menu item commands because you don't need to have an item / folder selected in order to run.
Feature Request - Per session Run command before..
- Posts: 2
- Joined: 30 Aug 2023
- Posts: 2450
- Joined: 22 Aug 2012
You can do that by creating a user script in any suitable script language that, when run:
• Runs any pre-FFS command(s)
• Launches FFS and waits until FFS is closed
• Runs any post-FFS command(s)
• Runs any pre-FFS command(s)
• Launches FFS and waits until FFS is closed
• Runs any post-FFS command(s)
- Posts: 2
- Joined: 30 Aug 2023
You could, yes, but I access my sessions directly from the application, I don't launch via external scripts.
It's a feature request because I would like to have this done in the application, for convenience.
I know it's possible to implement because "Run a command ... On completion" is already in the application. Adding a separate "Run a command ... On Comparison" option would be great. Or incorporate this into a preflight button.
It's a feature request because I would like to have this done in the application, for convenience.
I know it's possible to implement because "Run a command ... On completion" is already in the application. Adding a separate "Run a command ... On Comparison" option would be great. Or incorporate this into a preflight button.