Last active
May 23, 2017 17:16
-
-
Save wrzlbrmft/797ed4a7efc94084b519 to your computer and use it in GitHub Desktop.
List files and their sizes or md5 checksums.
This file contains 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
# sizes | |
find . -type f -printf "%p %s\n" | sort | |
# md5 checksums | |
find . -type f -exec md5sum "{}" \; | awk '{ print $2,$1 }' | sort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment