![]()
[<<]Message[>>] [<<]Author [<<]Subject [<<]Thread
Number : 1741 Date : 2002-03-07 Author : barbi_cas Subject : Re: /RC & /SGF Size(KB) : 1
Dear Kan Thank you, that operation is much better. However there is still one small point remaining. If the file has already been copied to the dest. then the cleanup is not done (i.e. deleting the source file). Is there a Newer or Equivalent date test? Rgds Colin --- In xxcopy@y..., Kan Yabumoto wrote: > > Dear Colin: > > If you want to have the latest one to be in the flattened > destination directory, I suggest the use of /SGNo (the last > character is a lowercase OH rather than zero --- but XXCOPY > switches are case-insensitive). > > My suggestion for you is: > > xxcopy \src\ \dst\ /SGNo /RC /ED /PD0 > > /SGNo ignores if the file has the same or older timestamp > than what is in the destination already. It overwrites only > when the file is newer than what is already there. > > Kan Yabumoto > ================================================================ > > At 2002-03-07 02:38, you wrote: > >Dear Kan > > > >I have read some of the messages regarding the /RC operation with > >interest, > >but none answers my query. > > > >I want to search a directory and its subdirectories for specific > >files. > >Having found them I want to move them to another (flat) directory. > > > >I tried xxcopy "c:\source dir" "c:\dest dir" /SGF /RC /ED /PD0 > > > >which works fine if the destination file doesn't exist, but if the > >destination files does exist it creates an additional dir called > >$$XCPY$$.$00 containing the said file. > > > >Is there any way to get xxcopy to overwrite existing files in this > >operation? > > > >Regards > > > > > >Colin > > > > > > > > > > > > > > > >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.