I have files like this.
md1.gz
md1.gz.md5
md2.gz
md2.gz.md5
....
md300.gz
md300.gz.md
Is there any application (or command line) to check the md5 of all files ?
EDIT: Currently I use cfv from macport. work great without any modification
|
I have files like this.
Is there any application (or command line) to check the md5 of all files ? EDIT: Currently I use cfv from macport. work great without any modification |
||||
|
|
|
The
If you want just the hashes, use the I'm guessing that you want to compare the hash of the files against that in the corresponding .md5 file. You could write a quick shell script to check each generated hash against the one stored in the .md5 file. Something like this should work:
Save that to a text file, call it something like checkmd5.sh and do It will print out a warning for all files that don't have a matching hash. It prints nothing if the hashes do match. It's quick and dirty, so apologies if it doesn't work for your particular case. But based on the examples you gave, if you run |
|||||
|
|
If want to use a gui, you can try with ff_md5drop |
||||
|
|
|
md5deep is a great cross platform tool to generate and check md5/sha hashes. While it's easy to replicate the recursive hash generation feature in a few lines of shell code, it's not so easy to do that for its hash matching feature. |
|||
|
|