Hello,
there is already a feature to run commands after synchronizing two folders.
I have a case where it would be convenient to run a command before synchronization happens.
For example call a SVN Client to fill directory a and then synchronize it with directory b.
Would it be interesting for you to implement this?
Best regards
Nic
Feature Request: Run Command before Synchronization
- Posts: 2
- Joined: 26 Jun 2019
- Posts: 4055
- Joined: 11 Jun 2019
You could create a .bat script that runs the command you want, then runs freefilesync.exe with a batch job as the only argument afterwords. You will have to adjust the copy command to whatever applies to your situation and change the batch job filename
--------------------------
rem fill directory a
copy "\\temp" "\\...\directory a"
rem Start sync
start "" "freefilesync.exe" "batchjob.ffs_batch"
--------------------------
rem fill directory a
copy "\\temp" "\\...\directory a"
rem Start sync
start "" "freefilesync.exe" "batchjob.ffs_batch"
- Posts: 2
- Joined: 26 Jun 2019
Hello xCSxXenon,You could create a .bat script that runs the command you want, then runs freefilesync.exe with a batch job as the only argument afterwords. You will have to adjust the copy command to whatever applies to your situation and change the batch job filename
--------------------------
rem fill directory a
copy "\\temp" "\\...\directory a"
rem Start sync
start "" "freefilesync.exe" "batchjob.ffs_batch" xCSxXenon, 26 Jun 2019, 18:00
thank you very much for your fast answer.
I really could of used my own brain to get to this result. I think I will do it how you described.
If there isn't any other reason to implement the suggested feature, this thread can be closed :-)
Thank you and greetings from Germany
nenico