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

Number : 9402 Date : 2004-12-02 Author : des4212001 Subject : Re: Hard to Believe Size(KB) : 7
--- In xxcopy@yahoogroups.com, "John Zeman" wrote: > > --- In xxcopy@yahoogroups.com, "des4212001" wrote: > > At least it isn't me. I can't get /ED to work period, No directories > > will process? And leaving the trailing slash off the empty > > directories gets them handled as non existant files. Finally, just > > giving up and putting a dummy file in the empty directories (there > > were actually 2) gets the job done. Kludge. > > > > DPE.DUS was a previous bitch where it's being selected for copy > > (when not present in the destination) even thought it's specifically > > excluded. Again I finally just gave up and put it there. There was 1 > > other Mystery file (present on source & destination) that tried to > > copy every time even though it had just been. This ah, was one of > > those invisible errors on my part! > > > > BTW, the RX series of options looks interesting, but John's HTML > > help file indicates a booger there too. > > > > DES > > > I am not aware of any anomalies regarding the /X exclusion specifier or the /ED preserve directory option. Both have always worked flawlessly for me, but that doesn't mean you may not have come up with an option combination that reveals a new bug. If you post the exact command lines including the command file if you're using one (or an exclusion file) the odds are pretty good that someone here will spot the problem. Also posting the log file may help to solve the problems you're having. > > About the /RX option. A few months ago it was discovered that /RX does not process subdirectories, or at least it didn't in the specific command line it was being used in at the time. I'd have to go back and look it up to the recall the exact problem, but that's why I added that paragraph in the html help file about it. > > Going back to the exclusion DPE.DUS problem. It does not sound like this is what is happening to you, but when I was first writing my primary backup batch file a long while back, which has numerous xxcopy exclusions that I added one at a time as I found them necessary, for awhile it appeared to me that the exclusion option was not working. I mean, I'd add an exclusion like /x:"C:\Documents and Settings\Administrator\Cookies\" but after running the batch file I'd look at the destination to see the cookies folder there! After some serious wall banging it finally sunk into my thick skull that the cookies folder was there on the destination, because it was put there BEFORE I had added the exclusion for it. And the /ZY option wasn't removing the cookies folder because that same folder does exist in the SRC. I guess what I'm saying here, is when it comes to apparent exclusion problems, sometimes the real problem is a far cry from what it appears to be. > > John OK, here's the /ED case: @Echo Off xxcopy /EC/CF:"F:\My Documents\Scripts\Sync Dell\My Documents2Test.xcf"/PZ0/WS Pause //My Documents2Test.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 /ED //Copies empty directories /Q //Does not display files that are skipped //Log File Specifications- /oN:"F:\My Documents\Scripts\Sync Dell\Test.log" //New to 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\ ===================================================================== ========== XXCOPY ver 2.85.8 2004-12-02 09:24:09 Windows Ver 5.1.2600 Command Line = xxcopy /EC/CF:"F:\My Documents\Scripts\Sync Dell\My Documents2Test.xcf"/PZ0/WS --------------------------------------------------------------------- ---------- Command File = F:\My Documents\Scripts\Sync Dell\My Documents2Test.xcf "\\Cx532597-a\My Documents\" "F:\My Documents\" /RSY /PD0 /BZ /ED /Q /oN:"F:\My Documents\Scripts\Sync Dell\Test.log" /oF2 /oD2 /oE2 /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\ --------------------------------------------------------------------- ---------- Switch Parameters /AXH /AXS /BZX /C /CA /CB0 /CCY /CF"F:\My Documents\Scripts\Sync Dell\My Documents2Test.xcf" /CK /CR3 /D0 /DL0 /E0 /EC /ED /ER0 /F0 /FM0 /FF0 /FL /FT0 /FW /H0 /I0 /IN* /L0 /N 0 /NP0 /NX0 /NI0 /NW /NC0 /oN"F:\My Documents\Scripts\Sync Dell\Test.log" /oD2 /oE2 /oF2 /oI0 /oP0 /oS0 /oX0 /P0 /PB0 /PC0 /PD0 /PN /Po0 /PZ0 /Q1 /QF0 / QB0 /QS0 /R0 /RSY /S0 /SP0 /SG0 /SX0 SZ:- /T0 /TR00 /TS0 /TD0 /TTA0 /TCA0 /TCC0 /TCW /TM0 /U0 /V0 /WD /WS /WV /X /Y /Z0 /ZE0 /ZS0 /ZX0 --------------------------------------------------------------------- ---------- Source base directory = "\\Cx532597-a\My Documents\" Destination directory = "F:\My Documents\" File name template = "*" Directories processed = 1 Total data in bytes = 0 Elapsed time in sec. = 0.001 Action speed (MB/min) = 0 Files deleted = 0 Log File Created = "F:\My Documents\Scripts\Sync Dell\Test.log" Exit code = 100 (No files were found to copy) The results will be identical with or without the /L applied to the command line above in the bat file. Replacing /ED with /E in the command file will result in processing of some 219 directories like so: ===================================================================== ========== XXCOPY ver 2.85.8 2004-12-02 09:47:34 Windows Ver 5.1.2600 Command Line = xxcopy /EC/CF:"F:\My Documents\Scripts\Sync Dell\My Documents2Test.xcf"/PZ0/WS --------------------------------------------------------------------- ---------- Command File = F:\My Documents\Scripts\Sync Dell\My Documents2Test.xcf "\\Cx532597-a\My Documents\" "F:\My Documents\" /RSY /PD0 /BZ /E /Q /oN:"F:\My Documents\Scripts\Sync Dell\Test.log" /oF2 /oD2 /oE2 /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\ --------------------------------------------------------------------- ---------- Switch Parameters /AXH /AXS /BZX /C /CA /CB0 /CCY /CF"F:\My Documents\Scripts\Sync Dell\My Documents2Test.xcf" /CK /CR3 /D0 /DL0 /E0 /EC /ED0 /ER0 /F0 /FM0 /FF0 /FL /FT0 /FW /H0 /I0 /IN* /L0 / N0 /NP0 /NX0 /NI0 /NW /NC0 /oN"F:\My Documents\Scripts\Sync Dell\Test.log" /oD2 /oE2 /oF2 /oI0 /oP0 /oS0 /oX0 /P0 /PB0 /PC0 /PD0 /PN /Po0 /PZ0 /Q1 /QF0 / QB0 /QS0 /R0 /RSY /S /SP0 /SG0 /SX0 SZ:- /T0 /TR00 /TS0 /TD0 /TTA0 /TCA0 /TCC0 /TCW /TM0 /U0 /V0 /WD /WS /WV /X /Y /Z0 /ZE0 /ZS0 /ZX0 --------------------------------------------------------------------- ---------- Source base directory = "\\Cx532597-a\My Documents\" Destination directory = "F:\My Documents\" File name template = "*" Directories processed = 219 Total data in bytes = 0 Elapsed time in sec. = 4.219 Action speed (MB/min) = 0 Files deleted = 0 Log File Created = "F:\My Documents\Scripts\Sync Dell\Test.log" Exit code = 100 (No files were found to copy) I just tried to reproduce the DEP.DUS case for you and Now it won't do it! I swear. Previously it would be selected for copy even thought specifically excluded when not present on the destination but would be skipped as desired when present on the destination. I'll fool with this one some more and see if I can get it back. DES
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.