JSI Tip 5409. How do I use Robocopy to copy ACLs without copying data?

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\]

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.