Thank you for the comment about -r option, was really usefull for me as I’m moving my video files from my iMac to a file server running Debian GNU/Linux and using md5sum to verify data integrity after copy.

Actually I’ve got an addon:
the -r hidden option does not really respect the format, indeed if you do something like:

ssh [email protected] “cd /Volumes/To/Copy; find . -type f -print0 | xargs -0 md5 -r” | md5sum -c

using the check option (-c) on linux side, then it will complain that the md5 output format is not valid. Indeed. MacOSX md5 -r generates lines with “” separated with *one* space with the “”. However, the Linux version of md5sum requires 2.

So you can add “| sed s’/ / /’ |” and it will work like a charm 🙂

Thank you again for this information.