Copy folders structure without files using PowerShell
hi
i need copy folders tree without files folder c:\a to folder c:\b. how it. tried using copy-item command no success: copy-item -path c:\a\* -destination c:\b -filter {psiscontainer} -recurse
thank help.
kind regards tomasz
hi,
i recommend using robocopy purpose.
see /e , /xf:
http://ss64.com/nt/robocopy.html
http://cects.com/copying-directory-structures-without-files/
Windows Server > Windows PowerShell
Comments
Post a Comment