Hello,
I have FreeFileSync 13.7 [Business Edition].
I have configured two post sync commands, one on success and one on errors, manually in ".batch" file.
When I want to change the destination directory via the FreeFileSync GUI, one of the tags is deleted.
Before modification :
After modification :
It it possible to have the ability to configure multiple post-synchronization commands from the FreeFileSync GUI?
Problem with PostSyncCommand tag
- Posts: 3
- Joined: 7 Aug 2024
- Posts: 2390
- Joined: 22 Aug 2012
I believe it is only possible in FFS to define a single Command Line; either on Completion, or on Success or on Errors.
What you can however do On Completion, is to invoke a self-created script that evaluates the FFS exit code, and based of the value of the FFS exit code initiates your desired different On Completion, On Success or On Errors actions.
What you can however do On Completion, is to invoke a self-created script that evaluates the FFS exit code, and based of the value of the FFS exit code initiates your desired different On Completion, On Success or On Errors actions.
- Posts: 3
- Joined: 7 Aug 2024
Thank you for your reply.
About the possibility of configuring multiple post-synchronization commands in FFS, it works.
The two commands configured on the events Success end Errors are correctly called at the end of the job.
That's why I'm asking the question of the ability to configure multiple post-synchronization commands from the FreeFileSync GUI.
About the possibility of configuring multiple post-synchronization commands in FFS, it works.
The two commands configured on the events Success end Errors are correctly called at the end of the job.
That's why I'm asking the question of the ability to configure multiple post-synchronization commands from the FreeFileSync GUI.
- Posts: 3909
- Joined: 11 Jun 2019
It is not possible via the GUI
- Posts: 3
- Joined: 7 Aug 2024
ok, thank you for the reply.
- Posts: 2390
- Joined: 22 Aug 2012
> About the possibility of configuring multiple post-synchronization commands in FFS, it works.
Never too old to learn something new! ;-)
Never too old to learn something new! ;-)
- Posts: 999
- Joined: 8 May 2006
I'll only add that it is odd, that looking at the UI, you would expect to be able to set any or all of the 3 conditions (& that they be retained, of course).
(Like how the Notification sounds: allows 3 separate "actions".
Screenshot here, viewtopic.php?t=11504#p44438.)
<PostSyncCommand Condition="Success">c:\success.bat
</PostSyncCommand>
<PostSyncCommand Condition="Error">c:\error.bat
</PostSyncCommand>
<PostSyncCommand Condition="Completion">c:\icompleted.bat
</PostSyncCommand>
Screenshot here, viewtopic.php?t=11504#p44438.)