automatically exit FFS on sync completion?

Discuss new features and functions
Posts: 7
Joined: 17 Mar 2021

ottenm

Is there a way to automatically exit FFS when a sync completes? There's a "When finished" option on the sync dialog, with an "exit" option, but it's not sticky (needs to be rechecked each time). There's also "Run a command on <completion>." but not sure how to find and kill FFS from there.

Anything in GlobalSettings.xml that I'm missing?

Thanks a ton!
User avatar
Posts: 2451
Joined: 22 Aug 2012

Plerry

It seems you are running your FFS sync configuration in the FFS GUI.
But, as you want FFS to "exit" "When finished", apparently you have no need to track your sync in the GUI.
In such a case, you can save your FFS sync configuration as a *.ffs_batch file and run that from the command line. When saving a *.ffs_batch file, you have several options that are saved with the sync configuration.
Posts: 7
Joined: 17 Mar 2021

ottenm

Thank you for the suggestion Plerry, new possibility for me.
I do prefer using the GUI so I can first preview (and tweak) the results from the 'compare', before I run the 'synchronize'. Just hoping to kick off the synchronize and move on (instead of having to wait for the completion and then having to Alt-F4 to exit).
User avatar
Posts: 4055
Joined: 11 Jun 2019

xCSxXenon

Batch file:
timeout 5
taskkill /f /im FreeFileSync.exe
taskkill /f /im FreefileSync_x64.exe
Run as post complete command
Posts: 7
Joined: 17 Mar 2021

ottenm

Don't let nobody tell you you're not The Boss!
A million thanks!