Quantcast
Viewing all articles
Browse latest Browse all 3

Answer by jscott for Best Practices - Exporting/Importing Windows 2008 file/folder permissions

You can do this with robocopy.

Assuming a source C:\inetpub\site1 and destination of C:\inetpub\site2, the following will create an identical folder hierarchy under "site2", preserving the permissions of "site1".

robocopy C:\inetpub\site1 C:\inetpub\site2 /mir /copyall /xf *
  • /mir Mirror
  • /copyall Copy all permissions
  • /xf * Exclude files matching *

Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>