Script or Application that will do md5 checking

Posted by shanghaiguy on Stack Overflow See other posts from Stack Overflow or by shanghaiguy
Published on 2010-03-16T16:53:23Z Indexed on 2010/03/16 17:01 UTC
Read the original article Hit count: 112

Filed under:
|

Is there a program, or a script out there that can compare the md5 checksum of files I tried to create my own, but i'm having problems with any files that have a space in them, so I was wondering if it'd be easier to just use an application. md5deep is something I downloaded that returns the checksum.

rm md5mastervalue
for i in `ls /media/disk`; do md5deep -rb /media/disk/$i >> md5mastervalue; done
for d in 1 3 ; do cp -rf /media/disk/ /media/disk-$d &  done
wait
rm md5valuet1
rm md5valuet3 
for k in `ls /media/disk`
do
    for f in 1 3; do md5deep -rb /media/disk-$f/$k >> md5valuet$f; done
done
for n in 1 3; do diff md5mastervalue md5valuet$n; done
echo Finished

© Stack Overflow or respective owner

Related posts about md5

Related posts about checksum