W
WB
I'm using Robocopy with the following switches (with /E only when copying
folders):
/E /w:15 /r:14 /TEE /LOG+:%LOGFILE% /NJS /NP
If a network connection is lost (i.e. if I unplug the cable), and max
retries are reached, Robocopy moves to the next file in the folder and
retires that one 14 times every 15 seconds. It repeats this for every file in
the folder. For a folder with lots of files, this is a big waste of time.
Also, if any files fail, and subsequent files get copied successfully, this
is still an overall failure (for most situations). I know that exit codes can
be used in this case, but it still doesn't make sense to me that it should
attempt to copy subsequent files if there were any copying failures at all.
Is there any way to have Robocopy just stop the copying operation if max
retires are reached on any file?
Thanks,
folders):
/E /w:15 /r:14 /TEE /LOG+:%LOGFILE% /NJS /NP
If a network connection is lost (i.e. if I unplug the cable), and max
retries are reached, Robocopy moves to the next file in the folder and
retires that one 14 times every 15 seconds. It repeats this for every file in
the folder. For a folder with lots of files, this is a big waste of time.
Also, if any files fail, and subsequent files get copied successfully, this
is still an overall failure (for most situations). I know that exit codes can
be used in this case, but it still doesn't make sense to me that it should
attempt to copy subsequent files if there were any copying failures at all.
Is there any way to have Robocopy just stop the copying operation if max
retires are reached on any file?
Thanks,