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.
In reply to Re: Recursive File Copy question
by BrowserUk
in thread Recursive File Copy question
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |