Hernandito
26-Jul-2010, 10:32 AM
Sorry, I accidentally posted this in BC v.2. Script Forum. I am using BC3.
================================================== ====
Hello,
My question is probably very simple. I am trying to create a folder comparison script, and following the guide on the web site and the help file, I have come up with the following:
# Turn logging on
log normal "C:\Synclog.txt"
# Load the default session and exclude all but certain file types
load <default>
filter "._.*;Thumbs.db"
# Load the base folders
load "W:\Original" "F:\Backup"
# Copy different files left to right, delete orphans on right
sync mirror:left->right
I am excluding the thumbnail files. However, the files that would be on the "left" folder, I do NOT want to delete orphan files on the "right". In other words, if someone deletes a file from Original folder, I do NOT want the file deleted from the Backup folder.
How can I omit the deleting of orphan files?
Another question, within the same script, can I add another folder synch session? Would it look like this?
# Turn logging on
log normal "C:\Synclog.txt"
# Load the default session and exclude all but certain file types
load <default>
filter "._.*;Thumbs.db"
# Load the base folders
load "W:\Ipod Backup" "f:\Ipod Backup"
# Copy different files left to right, delete orphans on right
sync mirror:left->right
# Load the base folders
load "W:\Original2" "F:\Backup2"
# Copy different files left to right, delete orphans on right
sync mirror:left->right
# Load the base folders
load "W:\Original3" "F:\Backup3"
# Copy different files left to right, delete orphans on right
sync mirror:left->right
Many thanks for the help and advice.
Hernandito
================================================== ====
Hello,
My question is probably very simple. I am trying to create a folder comparison script, and following the guide on the web site and the help file, I have come up with the following:
# Turn logging on
log normal "C:\Synclog.txt"
# Load the default session and exclude all but certain file types
load <default>
filter "._.*;Thumbs.db"
# Load the base folders
load "W:\Original" "F:\Backup"
# Copy different files left to right, delete orphans on right
sync mirror:left->right
I am excluding the thumbnail files. However, the files that would be on the "left" folder, I do NOT want to delete orphan files on the "right". In other words, if someone deletes a file from Original folder, I do NOT want the file deleted from the Backup folder.
How can I omit the deleting of orphan files?
Another question, within the same script, can I add another folder synch session? Would it look like this?
# Turn logging on
log normal "C:\Synclog.txt"
# Load the default session and exclude all but certain file types
load <default>
filter "._.*;Thumbs.db"
# Load the base folders
load "W:\Ipod Backup" "f:\Ipod Backup"
# Copy different files left to right, delete orphans on right
sync mirror:left->right
# Load the base folders
load "W:\Original2" "F:\Backup2"
# Copy different files left to right, delete orphans on right
sync mirror:left->right
# Load the base folders
load "W:\Original3" "F:\Backup3"
# Copy different files left to right, delete orphans on right
sync mirror:left->right
Many thanks for the help and advice.
Hernandito