Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

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

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

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

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new 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

1 Answer 1

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.

share|improve this answer