I've been using BC for years but this is my first attempt at scripting.
I have a simple script which should mirror (not update) the files on the left to the right but.... if I have a file on the right hand side that is newer than the file with matching filename on the left hand side I want the newer file to get
overwritten but it stays the same.
Here is my script
log verbose "%MATT_LOGS%\DRSync.log"
criteria rules-based
load "%MATT_HOME%_Source" "%MATT_HOME%_Destination"
filter "-Network.cfg"
sync create-empty mirror:left->right
I've read other forum posts which suggest making sure that the same operation would work from within the GUI and yes, it does work in the GUI when I use Actions > Synchronise -> Mirror To Right.
Any ideas what I'm doing wrong?
I'm using 3.3.8 (16340) Pro
Thanks
Matt
I have a simple script which should mirror (not update) the files on the left to the right but.... if I have a file on the right hand side that is newer than the file with matching filename on the left hand side I want the newer file to get
overwritten but it stays the same.
Here is my script
log verbose "%MATT_LOGS%\DRSync.log"
criteria rules-based
load "%MATT_HOME%_Source" "%MATT_HOME%_Destination"
filter "-Network.cfg"
sync create-empty mirror:left->right
I've read other forum posts which suggest making sure that the same operation would work from within the GUI and yes, it does work in the GUI when I use Actions > Synchronise -> Mirror To Right.
Any ideas what I'm doing wrong?
I'm using 3.3.8 (16340) Pro
Thanks
Matt
Comment