Using robocopy to copy NTFS file permissions.

Copies files from source to destination.

robocoy source destination /mir

Copies files from source to destination including the file permission.

robocopy source destination /mir /sec

Copies files from source to destination including the file permission. Does not delete the extra files and folders that was created after the copy was done (No /purge option).

robocopy source destination /copyall /e /b /secfix

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s