ROBOCOPY can be used to copy the ACLs of existing files, without copying
the files, but the documentation is NOT obvious on how to accomplish
this.
To copy the security information for files that exits at both the source and destination, and to NOT copy the files, use:
robocopy [Source] [Destination] /secfix /xo /xn /xc
To mirror a [Source] folder on a [Destination] folder:
robocopy [Source] [Destination] /secfix /xo /xn /xc \[Other parameters\]
robocopy [Source] [Destination] /secfix \[Other parameters\]
To copy the security information for files that exits at both the source and destination, and to NOT copy the files, use:
robocopy [Source] [Destination] /secfix /xo /xn /xc
To mirror a [Source] folder on a [Destination] folder:
robocopy [Source] [Destination] /secfix /xo /xn /xc \[Other parameters\]
robocopy [Source] [Destination] /secfix \[Other parameters\]
No comments:
Post a Comment