[Discussion] Trouble using xcopy

Julian Thomas jt at jt-mj.net
Thu Aug 3 05:26:05 PDT 2006


In <200608030625_MC3-1-C6F4-6056 at compuserve.com>, on 08/03/06 
   at 06:23 AM, Stratton McAllister <73357.3046 at compuserve.com> typed:

>Well, I'm not so sure.  The way I read the documentation, with this
>parameter  the zip program doesn't use the archive bit, but checks each
>incoming file  against the contents of the existing .zip file which it
>then updates if the  incoming is new or changed.  The result is a .zip
>file with all the latest  versions -- but any older versions are gone. 

Yes, and in addition, if there's a bolt of lightning during the zip file
update, everything is toast.  My scheme uses 

   x=SysFileTree(pxd||'*.*',"stem",'SF','+****',targatt)

pxd is something like 'H:\'

targatt = '-****' to reset A bits or '*****' to leave them alone.

This builds a list of the new or changed files.  My full backups reset all
the A bits.
 
-- 
 Julian Thomas:   jt at jt-mj.net    http://jt-mj.net
 In the beautiful Finger Lakes Wine Country of New York State!
 Warpstock X - October 12-15 2006; Windsor, Ont.  I'll be there - will you?
 -- --
 If you want it done right, forget Microsoft.






More information about the Discussion mailing list