[<<]Message[>>]    [<<]Author[>>]    [<<]Subject        [<<]Thread    

Number : 5240 Date : 2003-08-08 Author : Garry Deane Subject : Re: copy files to different locations Size(KB) : 1
--- In xxcopy@yahoogroups.com, niteowl wrote: >>When you use /clone, it is a shorthand version of a number of >>switches based on /Bi. /Bi means to copy files only if the >>file is new or the corresponding file in the destination has >>a different date/time/size. The exit code 100 means that either >>there were no files matching the selection criteria (i.e. there >>are no files in "C:\windows\favorites\") or that the identical >>files already exist in I:\mirror\.... so there was no need to >>copy them. >> >>Your post #5226 indicates that you have previously cloned your >>complete c:\windows\ to i:\mirror\allain\cbackup\windows\ so >>I assume the latter applies. > > if that's the case, then wouldn't I get that "copied failed" > error on all previously copied files? There are 2 success conditions reported. Exit code 0 means that there were no errors and some files were copied. Exit code 100 means there were no errors but no files were found to copy or that needed copying. When you ran the first clone in post #5226 it gave Exit Code 0. Now you have re-run the clone but on a sub-set of the first copy. Because these files have already been copied, there's nothing more that needs copying so you get Exit Code 100. These Exit Codes are a function of the file selection switches you use. If you hadn't used /clone, all the source files would have been re-copied and (assuming no errors) you would receive Exit Code 0. Because you used /clone (/Bi), that means that files that are exactly the same in the source and destination are excluded from being copied. Therefore no files are found that need copying so you get Exit Code 100. Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.