How to use Robocopy to Sync Files on a Drive or Directory in Windows
The robocopy (robust file and folder copy) is a command line tool available in Windows that copies files from one place to another. It can copy between directories on the same drive, or between devices like USB sticks and portable disks, and to network locations.
When to Use the Robocopy Command
The robocopy command is perfect for automating your workflows. If you regularly have to copy files between the same locations, you can set up a script to do it all for you rather than having to perform the task manually.It’s particularly useful for performing backup tasks, with the added advantage that you won’t have to remember to perform the backup, improving the reliability of your backup practices. You can use robocopy to regularly back up your files to an external drive, or to cloud storage.
[mai mult...]