[WEBINAR] Application Acceleration: Faster Performance for End Users

Robust File Copy (Robocopy)

Definition - What does Robust File Copy (Robocopy) mean?

Robust file copy (robocopy) is a special file and directory copy command used in the command line of the Windows OS. Robocopy became part of the Windows Resource Kit with Windows NT 4.0. With the arrival of Windows Vista, robocopy became a standard part of Windows. This command is quite different from the usual copy and xcopy commands that come with Windows as it is designed to be more reliable in mirroring or copying folders or directories of any size.

Techopedia explains Robust File Copy (Robocopy)

Robust file copy is very efficient at mirroring files or directories, and even ensures that all attributes, time stamps, properties and NTFS ACLS are copied. However, security information must be explicitly set to copy as it does not copy by default. Robocopy even works over network sessions that may be subject to disruptions as it has a "resume copy" feature. This comes in very handy when copying large or multiple files over the network.

Here are a few copy options available to robocopy:
  • /S - Copies subdirectories, excluding empty ones
  • /LEV:n - Copies the higher "n" levels from the source
  • /Z - Restartable mode
  • /B - Backup mode
  • /ZB - Restartable mode; otherwise backup mode
  • /SEC - Copies with security
  • /COPYALL - Includes all file info while copying, including security info

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
"Techopedia" on Twitter

Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Free Whitepaper: The Path to Hybrid Cloud
Free Whitepaper: The Path to Hybrid Cloud:
The Path to Hybrid Cloud: Intelligent Bursting To Amazon Web Services & Microsoft Azure
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.