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

Number : 10395 Date : 2005-02-01 Author : des4212001 Subject : Re: A tip for debugging exclusions Size(KB) : 1
--- In xxcopy@yahoogroups.com, "John Zeman" wrote: > > Here's a little tip you can use when you're trying figure out which exclusion works and how. If you use a command line similar to this: > > xxcopy SRC DST /ox1/EC/W/L /x*\temp*\ /x*.tmp > > where SRC and DST represent a valid source and destination, and /x*\temp*\ /x*.tmp are the exclusions you want to test, when you run the command xxcopy will display how it interprets your listed exclusions. For example if I run this command: > > xxcopy C:\ I:\ /ox1/EC/W/L /x*\temp*\ /x*.tmp > > xxcopy will not copy anything but it will display: > > ----------------------------------------------------------------- > Exclusion Items List > H 1: C:\*\*.tmp > K 2: C:\*\temp*\ > Press Ctrl-C to abort, any other key to begin copying file(s). > > > In the above the * is a wildcard that means anything at all. So all files that end in .tmp would be excluded as well as any directory that begins with temp > > John I'll have to remember this! A comment though... In thinking to myself, "Geeze I have a lot of redundant path info in my exclusions." But I did have the foresight to start searching for occurances of some of the wildcarded reductions before jumping in and changing things. Just one example, the ntuser.dat files, trying *\ntuser.*. Low & behold there were instances I didn't know about. (There are even some files that aren't even always present.) Now whether or not these files that would be inadvertantly excluded by generalizing the exclusions even need to be copied is unknown, at least to me. The point being, use caution and explore your generalizations. Some items like the Temps in your example aren't in question. But I made a note to myself not to get carried away just for the purposes of saving a few bytes in the exclusion items. DES
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.