Frequently Asked Questions

« Previous
How do I set firewall rules in Linux to block SSH?
Next «
How do I configure my resolver on a Linux machine?

62. How do I copy many files in Windows using Robocopy?

Robocopy is a built in command line tool in Windows to copy files. when it cannot read a file because of any reason, like the file is locked or unavailable, it can retry.

Mirror a directory into another

This deletes destination files that are not in the original.

robocopy g:\myfiles h:\myarchive /MIR /R:2 /W:1

Copy a directory into another

This just copy the files.

robocopy g:\myfiles h:\myarchive /E /R:2 /W:1

This entry robocopy was last modified 2018-06-04

This documentation is covered by GNU Free Documentation License.