I will be copying a LOT of files to new hard drives (about 2TB worth and over 50,000 files). I want to do a hash file check of all the files, and want it automated so that it compares the hashes of every file and tells me which ones are different so I can confirm that the file wasn't corrupted in the process.
Anyone know of a simple utility to accomplish this?
Thanks.
-
If you have Windows 10, you can download Bash on Windows 10. Then you can use md5deep and md5sum commands from Bash. You can even automate the whole process with a batch script and little coding.
Alternatively, download md5deep (the zip file). Extract the content. Then you
1. Add the extracted path to the Windows environment variable
2. OR drop md5deep.exe or md5deep64.exe in C:\Windows\System32.
3. OR Have to type the full path of the folder when you need to use the command.
Open cmd and point to the folder that contains all the files. Then run this command:
Code:md5deep -r -l .
Code:md5deep -r -l . > md5sum.txt
The bash way is way easier IMO you only need to run:
Code:md5deep -r -l . > md5sum.txt
Code:md5sum -c md5sum.txt
Last edited: Apr 3, 2017HTWingNut and alexhawker like this.
File Comparison by Hash Check?
Discussion in 'Windows OS and Software' started by HTWingNut, Apr 2, 2017.