samintz
Scott Mintz
- May
- 1,590
- 27
How do I structure a file exclusion to exclude a subdirectory when copying a group of subdirectories.
For example:
This will copy the whole tree:
But if I want to exclude S2, how would I do it?
This doesn't work:
-Scott
For example:
Code:
Top
├── S1
├── S2
├── S3
└── S4
Code:
copy /s Top\ NewTop\
This doesn't work:
Code:
copy /s /[!Top\S2\*] Top\ NewTop\
-Scott