How to recursively sha256sum a directory
This command will run sha256sum recursively on all files in a directory:
recursive_sha256sum.sh
find . -type f -print0 | xargs -0 sha256sum
You can also pipe it into a file
recursive_sha256sum_to_file.sh
find . -type f -print0 | xargs -0 sha256sum > recursive-sha256sum.txt
Check out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow