Is there a Windows command line tool which will just copy changed files from one directory to another? I do not want to compare file dates, but the actual content. Total Commander has such a function in its folder sync but I need a command line version of that.
closed as off-topic by random♦ May 14 '16 at 22:41
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you're trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question." – random
There are a couple of possibilities:
robocoby /xc | /xn - comes with windows 7 and is on the xp resource kit http://ss64.com/nt/robocopy.html
or robocopy /mon:n |/mon:m
xcopy /d:m-d-y - standard windows utility.
Microsoft SyncToy 2.1 has a command line interface and can copy from one folder to another, checking file contents.
However, it's not as simple as specifying to the two folders when you run the command. You have a create a "folder pair" either in the GUI or the command line, and then run the command to synchronise that pair.
So if you wanted something to regularly synchronise two folders SyncToy would do, but it won't be as good for one off folder synchronisation tasks.
Get rsync for Windows.