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

Number : 5051 Date : 2003-07-21 Author : Garry Deane Subject : Re: /RX switch problem.... Size(KB) : 1
--- In xxcopy@yahoogroups.com, "thoughtsandideas" wrote: > When I run this command: > > xxcopy z:\data k:\backup\data /CLONE /Q1 /oE3 /FF /PB /NX0 /RX > > ...it prompts me to delete directories from the dst, even > though they DO exist in the src. Without the /RX switch, it > doesn't prompt me to do that, and it doesn't delete those > directories (and it shouldn't, because they do exist in the > src.) The documentation says "/RX: Removes files in dst which > are absent in src (no copying)." So why is /RX trying to > delete files in the dst that are *present* in the src? > > That set of switches, excluding /RX, almost does what I want. > The only problem is that it prompts me to delete any dst dirs > that are absent in the src... I thought /RX would fix that, > but it doesn't. What switch am I missing? I'm not too clear on what you are trying to do. I think your problem is that you have used /clone which is shorthand for a long list of other switches (see xxcopy /clone/?) then by using /RX, you have overridden the meaning of some of those switches. For example, /clone uses /PD0 which suppresses prompting before each directory copy/remove whereas /RX uses /PD which does prompt first. This latter use of /PD takes precedence. Additionally, using /RX instead of /RXY causes a prompt prior to deletion of files in the dest. Also, /clone uses /PZ0 which causes a prompt on the use of the /Z switch in the clone command which serves almost the same purpose as /RX but results in yet another prompt. It seems that you used /RX to get rid of the prompts that you get with the /clone command. To figure out which switches will suppress the prompts, press "?" when prompted and xxcopy will display which switch suppresses that prompt. In your case, if you remove the /RX from your command line, you just need to add /PZ0 to suppress the "make sure the dest is correct" prompt. Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.