Using Robocopy to Copy Files and Folders While Maintaining ACLs

In: Microsoft

2 Mar 2008

Robocopy is a Windows Server Resource Kit command line tool that allow you to copy files and folders while maintaining ACLs. In addition it allows you to copy files across networks with fault tolerance capabilities – if the network connection is disrupted, the copy operation will continue where it left off when the connection is restored. Robocopy will also allow you to synchronize local or remote directories and if changes are detected, only the changed bits in a file are copied as opposed to the entire file being copied.

How to use Robocopy to copy the contents of one directory to another while maintaining ACLs:

  • NOTE: Do not put a trailing backslash at the end of the directory paths. The destination directory does not have to currently exist.
robocopy c:\pathToSourceDirectory c:\pathToDestinationDirectory /E /SEC

Here is a link to a Microsoft article that talks about the GUI version of Robocopy: Link

Robo

Comment Form

About this blog

This blog is about technology related topics. It will primarily contain problems and solutions to IT problems that I encounter on a day-to-day basis. In addition interesting things I come across either on or off the internet will be posted here as well. I will also include step-by-step tutorials to common tasks people may need to do with their computers.

Web Hosting Discount

    Get the first month for only $0.01 using coupon code HGCOUPONBLOG. No contracts, cancel anytime.

Revolutionary One Time Password Device

Add to Technorati Favorites