in reply to Recursive File Copy question
On windows, I'd use xcopy /exclude:fileOfThingsToExclude src dst.
Eg. put \tmp\ & .svn\ on separate lines in fileOfThingsToExclude and tmp dirs off the root of any drive, and .svn\ dirs anywhere in a directory tree will be skipped.
Mostly because it will copy acls (or not as you need), and a bunch of other useful options. But also, because it's faster than pretty much anything else.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Recursive File Copy question
by rovf (Priest) on Jul 22, 2008 at 08:34 UTC | |
by BrowserUk (Patriarch) on Jul 22, 2008 at 15:05 UTC |