Wednesday, April 9, 2014

Files and Folders Copy with NTFS ACL Preservation

To bulk copy files and folders from one place to another and to preserve ACL permissions and folder structure, an easy way is to use Robocopy.exe like this:
> ROBOCOPY [source] [target] /MIR /SEC /SECFIX 
For example, to copy from local drive source to file share destination, the command should be
> ROBOCOPY D:\Shares \\UNC\Shares /MIR /SEC /SECFIX

No comments:

Post a Comment