Hello,
I'd like to automate the syncing of 2 folders (mirror local folder to remote folder -ftp-) but ignoring orphans at both sides, it means, updating only the files present in both sides.
I'd like also to pass the log file path as a parameter.
This is my script right now:
# Turn logging on.
log normal "D:\USUARIOS\Oscar\EMPRESA\ENCHUFIX\SISTEMAS\Desar rollo\Gestion\programas\bc-log.txt"
# Load the default session and exclude all but certain file types.
load <default>
filter "unix-*.jpg;-*"
# Confirm Yes to all
option confirm:yes-to-all
# Set the comparison criteria.
criteria timestamp:10sec size
# Load the base folders.
load %1 %2
# Copy different files left to right, delete orphans on right.
sync mirror:left->right
Thanks in advance,
------
Oscar
I'd like to automate the syncing of 2 folders (mirror local folder to remote folder -ftp-) but ignoring orphans at both sides, it means, updating only the files present in both sides.
I'd like also to pass the log file path as a parameter.
This is my script right now:
# Turn logging on.
log normal "D:\USUARIOS\Oscar\EMPRESA\ENCHUFIX\SISTEMAS\Desar rollo\Gestion\programas\bc-log.txt"
# Load the default session and exclude all but certain file types.
load <default>
filter "unix-*.jpg;-*"
# Confirm Yes to all
option confirm:yes-to-all
# Set the comparison criteria.
criteria timestamp:10sec size
# Load the base folders.
load %1 %2
# Copy different files left to right, delete orphans on right.
sync mirror:left->right
Thanks in advance,
------
Oscar
Comment