Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I keep data on a USB drive, but I also keep a copy of all of that data on a hard disk. I like using the hard disk because it's faster and gives me a backup. What standalone tools would work to keep the files on the disk and USB drive in sync? I'd like a single command line executable or standalone GUI app that can do the job--something I could run off of the USB drive. So, things like the MS Sync Tool wouldn't work.

share|improve this question

closed as off-topic by HBruijn, HopelessN00b Jan 28 '15 at 8:09

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 2 down vote accepted

I have used Pathsync before to do basically the same thing and it works well.

share|improve this answer
Thanks. That seems to do everything I need. – Jim Oct 22 '09 at 18:51

Unison is the tool of choice if you don't mind the sometimes counterintuitive (optional) GUI. It is like rsync in both directions, hence actual synchronization and not only mirroring. Also updates are made in an atomic way (if at all possible) so you are never left with a half-through update of a file.

share|improve this answer

Synctoy is made by Microsoft and can be batched through command line. The only tricky part is that you have to use the GUI to create a 'sync set' and then refer to the sync set name in your batch script.

share|improve this answer

Robocopy is by far the best tool I've found. It's even included in newer versions of Windows. It has a whole heap of options, but basically, the following command will make the destination directory an exact copy of the source directory:

robocopy C:\your\source\path D:\your\dest\path /MIR

Note that this not only copies files, but deletes them as well - if a file is not in the source directory it will be deleted from the destination directory, so be careful.

share|improve this answer

DeltaCopy - Also Rsync for Windows (see binaries Without Installer)

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.