Created
August 16, 2013 19:31
-
-
Save tjfontaine/6252812 to your computer and use it in GitHub Desktop.
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
find . \( -path ./docs -o -iname SHASUM\* \) -prune -o -type f -exec shasum '{}' \+ >> SHASUMS.txt.tmp | |
find . \( -path ./docs -o -iname SHASUM\* \) -prune -o -type f -exec shasum -a 256 '{}' \+ >> SHASUMS256.txt.tmp | |
sort -k2 -o SHASUMS.txt SHASUMS.txt.tmp | |
sort -k2 -o SHASUMS256.txt SHASUMS256.txt.tmp | |
rm *.tmp | |
sed -i -e s#\./## SHASUMS* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment