I tried the following in PS1:
Copy-Item C:\Clean -Destination C:\NewClean -Recurse -Container -Exclude CVS
Unfortunately it also copied all of the CVS directories. Is there a way to exclude certain directories while maintaining the recursive, container-preserving copy?
I figured out how to use gci -exclude to feed the copy-item, but I couldn't figure out a way to maintain the directory structure.
P.S. I'd really like to be able to exclude a list of folders.
Use File->New Project to create Web Service Projects
Copy-Item C:\Clean -Destination C:\NewClean -Recurse -Container -Exclude CVS
Unfortunately it also copied all of the CVS directories. Is there a way to exclude certain directories while maintaining the recursive, container-preserving copy?
I figured out how to use gci -exclude to feed the copy-item, but I couldn't figure out a way to maintain the directory structure.
P.S. I'd really like to be able to exclude a list of folders.
Use File->New Project to create Web Service Projects