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

Number : 113 Date : 2001-05-24 Author : Kan Yabumoto Subject : Re: Marking Deleted Files Size(KB) : 1
The standard /CLONE operation deletes extra files in the destination. To avoid the deletion, you can just say /CLONE /Z0. Now, if you want to set the Hidden attribute bit (/ASH) to those files which are not present in the source, you should run a separate XXCOPY command (probably after the /CLONE /ZO action), XXCOPY \dst\ \src\ /BB /S /ASH Here, the order of the original source and destination directories (\src\ and \dst\ respectively) are reversed so that the /ASH operation will be acted upon the files in the \dst\. Now, if you recall my favorite chart, The /BB switch selects the files that are present in the first directory but not in the second directory (the opposite of what what use to be the "extra" files in the destination). Kan Yabumoto ======================================================================= At 2001-05-24 11:57, Gabe Fineman wrote: >I am using XXCOPY to backup to a removable disk. When a file is >deleted on the main disk, I do not want to delete it on the backup >copy, but just mark it as deleted. The Hidden attribute bit seems >ideal. What I want to do is select those files on the backup disk >that are no longer on the main disk and change their attribute to >hidden. I am not sure how to do this. XXCOPY seems to be able to >select and delete files on the destination disk that are not on the >source disk, but I am not sure how to just select them and do a /ASH. > >Perhaps there is a better approach. Any help would be appreciated. > >-Gabe Fineman
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.