FreeFileSync enables additional synchronization scenarios via a command line interface. To get a syntax overview, open the console, go to the directory where FreeFileSync is installed and type:
In order to start synchronization in batch mode, supply the path of a ffs_batch configuration file as the first argument for FreeFileSync.exe:
After synchronization one of the following status codes is returned:
You can evaluate these codes from a script (e.g. a cmd or bat file on Windows) and check if synchronization completed successfully:
Instead of showing an error message you can also send an email notification (using a third party tool).
If you pass a ffs_gui file, FreeFileSync will start in GUI mode and immediately start comparison (but only if all directories exist):
You can replace the directories of a given ffs_gui or ffs_batch configuration file by using the -LeftDir and -RightDir parameters:
When more than one configuration file is provided, FreeFileSync will merge everything into a single configuration with multiple folder pairs and start in GUI mode:
By default FreeFileSync uses a single GlobalSettings.xml file containing options that apply to all synchronization tasks; for examples see Expert Settings. If you want FreeFileSync to use a different settings file instead you can specify the path via command line: