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.
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.