Robocopy favicon

Robocopy

Robocopy, or "Robust File Copy", is a command-line directory replication command. It has been available as part of the Windows Resource Kit starting with Windows NT 4.0, and was introduced as a standard feature of Windows Vista, Windows 7 and Windows Server 2008. Robocopy is notable for capabilities above and beyond the built-in Windows copy and xcopy commands, including the following: • Ability to tolerate network interruptions and resume copying. • Ability to copy file data and attributes correctly, and to preserve original timestamps, as well as NTFS ACLs, owner information, and audit information using command line switches. • Ability to assert the Windows NT "backup right" so an administrator may copy an entire directory, including files denied readability to the administrator. • Persistence by default, with a programmable number of automatic retries if a file cannot be opened. • A "mirror" mode, which keeps trees in sync by optionally deleting files out of the destination that are no longer present in the source. • Ability to skip files that already appear in the destination folder with identical size and timestamp. • A continuously-updated command-line progress indicator. • Ability to copy file and folder names exceeding 256 characters without errors. • Multithreaded copying (Windows 7 only). • Return code on program termination for batch file usage.