xxcopy K:\ C:\bakupdir /clone /NI /M /H /oAC:\copyresults.logbtw obtain xxcopy from
http://www.xxcopy.com and there is a YahooGroup
[xxcopy] as well.
The
/NI is a sneaky switch if you need it is a godsend. It insrets a brief delay between copy operations. On
USB drives or huge drives on systems with perf problems and tens of thousands of files being copied you may run int disconnects and/or Delayed Write failures which will terminate
xxcopy. A disconnected drive that
hiccups and comes back or delayed write errors are just fatal. They get recovered from with this switch. Since copying say 120 gigs onto another drive can take days this switch practically guarantees unattended contious operation against a number of foes.
The
/clone just guarantees the destination looks exactly like the source. Warning it will delete files on destination it encounters that are not on the source. Clone means an exact copy. That behavior can be
over-ridden of course with other switches.
The
/m guarantees archive bits are read and reset on source. If the copy operation gets aborted (although /NI takes care of most of those issues) will guarantee a swift pickup where it left off.
/H is about getting hidden and system files.
/oAFilename is about writing a log of any failures and appending to it. This can help you determine what cleanup copying needs to happen if files could not be copied since the filename specified will have a log of any files it could not copy.