From the command line:
Code: Select all
md5ffpchecker <md5 checksum and/or flac fingerprint file>
Code: Select all
md5ffpcheckerdir
Code: Select all
md5ffpcheckerdir -r
Of course to test the various file types you'll need the programs used to test them installed.
flac/metaflac - flac testing & verifying finger prints (included in most puppy versions)
wvunpack - wavpack package
mac - Monkey's Audio package
ofr - Optimfrog package
The program will run without the extra packages installed but will skip checking for those file types.
Failed files are tallied and all results will be given at the end of the output:
Code: Select all
checking for md5 checksums in /mnt/home/downloads/mp3-test/info.txt
---------------------------------------
checking for flac fingerprints in /mnt/home/downloads/mp3-test/info.txt
---------------------------------------
testing all flac files found
/mnt/home/downloads/mp3-test/ofr/01_-_cheatin'_the_hangman.flac: ok
/mnt/home/downloads/mp3-test/wv/01_-_cheatin'_the_hangman.flac: ok
/mnt/home/downloads/mp3-test/flac/02_-_bedroom_light.flac: ok
/mnt/home/downloads/mp3-test/flac/03_-_money_lust.flac: ok
/mnt/home/downloads/mp3-test/flac/01_-_cheatin'_the_hangman.flac: ok
/mnt/home/downloads/mp3-test/flac/04_-_wish.flac: ok
/mnt/home/downloads/mp3-test/ape/01_-_cheatin'_the_hangman.flac: ok
---------------------------------------
testing all ape files found
/mnt/home/downloads/mp3-test/ape/test.ape: Success...
/mnt/home/downloads/mp3-test/ape/01_-_cheatin'_the_hangman.ape: Success...
/mnt/home/downloads/mp3-test/ape/02_-_bedroom_light.ape: Success...
---------------------------------------
testing all optimfrog files found
/mnt/home/downloads/mp3-test/ofr/01_-_cheatin'_the_hangman.ofs: Verifying done.
/mnt/home/downloads/mp3-test/ofr/01_-_cheatin'_the_hangman.ofr: Verifying done.
---------------------------------------
testing all wavpack files found
/mnt/home/downloads/mp3-test/wv/01_-_cheatin'_the_hangman.wv: verified in 1.75 secs (lossless, 28.05%)
---------------------------------------
0 files failed the md5 check
0 files failed the fingerprint check
0 files failed the flac test
0 files failed the ape test
0 files failed the optimfrog test
0 files failed the wavpack test
0 files are in md5 but not found in directory
script has completed testing files
0.2.1 fixed a couple of bugs in the md5ffpchecker script
0.2.2 fixed some more bugs
0.2.3 tweaked the script to make it work better with MU's old compiled gtklogfileviewer as opposed to the current Xdialog hack. I prefer MU's version since it seems to scroll thru the output better without sticking.