Created
October 20, 2023 12:45
Print a md5 checksum for directories recursively
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for dir in `find . -type d -not -path '*/.*'`; | |
do | |
echo -en "${dir}: "; | |
find ${dir} -type f -not -path '*/.*' -exec md5sum {} \; | md5sum | awk '{print $1}'; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment