On Sun, Dec 22, 2019 at 06:20:11PM +0000, Brian wrote:
>   md5sum `find -follow -type f` > md5sum.txt

*shudder*

This only works if you have a small number of files, none of which
have whitespace or globbing characters in their filenames.

find . -follow -type f -exec md5sum {} + > md5sum.txt

(Although in practice, you'd want to write to an md5sum.txt file in
a different directory, or else you'll be creating the output file
first, and then feeding it to md5sum in some indeterminate state.)

Reply via email to