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

Number : 9395 Date : 2004-12-01 Author : Garry Deane Subject : Re: Hard to Believe Size(KB) : 2
--- In xxcopy@yahoogroups.com, "des4212001" wrote: > > Experts try this: > > @Echo Off > xxcopy /EC/CF:"F:\My Documents\Scripts\Sync Dell\My > Documents2.xcf"/PZ0/WS/L > Pause > > On: > //My Documents2.xcf------ > //Source----------------- > "\\Cx532597-a\My Documents\" > //Destination------------ > "F:\My Documents\" > //Switches--------------- > /RSY //Removes files in souce which qualify, no copying or prompts > /PD0 //No directory processing prompt > /BZ //Backs up different size files, including new > /E //Copies empty directories > /Q //Does not display files that are skipped > > //Log File Specifications- > > /oN:"F:\My Documents\Scripts\Sync Dell\Test.log" //New Log File > /oF2 //File list (files that were successfully operated on) > /oD2 //Deleted-file list > /oE2 //Error summary > > //Exclusions-------------- > > /X:*.rdp > /X:desktop.ini > /X:DPE.DUS > /X:"Messenger Service Received Files\" > /X:"My Music\beck.*" > /X:"My Music\My Playlists\" > /X:"My Music\Sample Playlists\ > /X:"My Pictures\Downloads\" > /X:"Private\ZAP Security Settings.zip" > /X:Scripts\ > > OK, the "Messenger Service Received Files\" directory (empty) > will be deleted... Even with the /L switch applied as shown. > (Changing /E to /ED or /EDx only results in Nothing being > processed.) Removing the /L results in correct processing, > except for the indicated directory which gets deleted either > way. This is run from here (WinXP Pro NTFS) and Cx532597-a > (W98 FAT32)is remote via LAN. (Another mystery as per DPE.DUS > there copying even when specifically excluded unless it's > already present in the destination?) > > DES Yes there was a bug when you used /RS/L with exclusions and the excluded directory is empty and the excluded directory used a trailing \. There was a thread on this a while ago but I can't find it now. Kan has quietly (read undocumented) fixed the bug in the beta ver 2.85.9b but it still exists in 2.85.8. There's a number of simple work arounds including not using a trailing \ and not using /rsy when using /L (or use /rs0 on the command line to cancel the /rsy in the command file). When you remove the /L and use /ed, the empty directories are preserved correctly even with ver 2.85.8. I'm not sure about your reference to DPE.DUS being copied since no files will be copied with the /rsy command. Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.