Page 1 of 1

HOWTO generate set of MD5sums

Posted: Wed Feb 13, 2013 6:59 am
by pgmer6809
As part of the .iso file for Nadia there are two text files (look the same) that have an md5sum for each of the files in the iso.
(at least I assume it is for each file. There are a lot of them. with complete path names. )
e.g.
8fd3679ef8b6edcf53cf4a07aefa859e ./install/mt86plus
e18e311de072fdb8cd481d2b273940bb ./boot/grub/font.pf2
c67bcf93aa7bddaa90d9475b0d4b9f3b ./boot/grub/x86_64-efi/ntfs.mod
...... etc. for a total of 224 lines.
Is there some way I can generate my own set of md5 sums in the same format and the same order as the ones in those files so I can then run a diff on them?

pgmer6809

Re: HOWTO generate set of MD5sums SOLVED

Posted: Thu Feb 14, 2013 12:50 am
by pgmer6809
This is easy.
md5sum -c md5sums.txt
will use the info in md5sums.txt (created by md5sum) to check that the hashes are correct.