Possible Duplicate:
Windows File copier with hash support

I've looked at a lot of the copy tools available on windows such as RichCopy and RoboCopy but they all seem to use date/time stamp comparisons to determine whether or not do the copy.

What I'm looking for is something that can be executed from the command line and will generate a hash that is used to compare the files in the source and destination to determine whether or not to do the copy.

Thanks

link|improve this question
Move to superuser? – kerchingo Sep 29 '09 at 18:10
Done. Thank you. I didn't realize there was a separate site for that. – DZ Sep 29 '09 at 18:12
duplicate with this question: superuser.com/questions/48637/… – Snark Sep 29 '09 at 20:00
feedback

migrated from stackoverflow.com Sep 29 '09 at 19:13

This question came from our site for professional and enthusiast programmers.

closed as exact duplicate by Joey, The How-To Geek Sep 29 '09 at 21:21

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

Just as a side note, generating the hash will require almost the same resources as copying the file unless you cache the hash (which defeats the purpose), or build the two hashes progressively as you compare the files.

This is the sort of thing that works best when you have separate cooperating processes, each of which is closely bound to the files it's interested in.

link|improve this answer
feedback