I have a simple script (see below) I'm running that is copying files from one webserver to another. I have a similar script that does a binary compare of the files beforehand, giving the ability to select specific files to be copied. In the script below, parameter 4 is a list of files to be copied, 1 and 2 are the two server locations, and 3 is obviously the log file name. This script works great in almost all situations. However, in the specific scenario I have now, the compare is returning differences between two image files, which is correct. The issue is that the left side files are older than the right side files, and I believe this is causing the script to not push those files. Is there a way I can bypass the date check and force the older files to be pushed? We often receive image assets from clients, and sometimes the "new" file is actually older from a timestamp perspective. I realize we could likely touch each file on the left first, but it would be preferable to preserve the original timestamp on the file. Any thoughts or help is appreciated. Thanks
(Also of note, following the script in actual BC window leaves me with the correct files left, with both the left and right sides selected. Clicking sync returns "nothing to do", and copy brings up the dialog to specify a direction, could this be a dialog issue that I'm not accounting for?)
log verbose %3
criteria binary
filter %4
load %1 %2
expand all
select all.files
copy left->right
(Also of note, following the script in actual BC window leaves me with the correct files left, with both the left and right sides selected. Clicking sync returns "nothing to do", and copy brings up the dialog to specify a direction, could this be a dialog issue that I'm not accounting for?)
log verbose %3
criteria binary
filter %4
load %1 %2
expand all
select all.files
copy left->right
Comment