As far as you wrote, 'md5sum' was called from the "subfloders" and you need to do the same when checking. Moreover, double quotes are needed for paths including spaces. Here is something that should work if called from the root of the hierarchy subtree containing the md5.txt files: $ find "$PWD" -name md5.txt | while read dir; do cd "${dir%/*}" && md5sum -c md5.txt; done

I can explain it to you if you wish.

Reply via email to