Created
December 9, 2014 15:01
-
-
Save pronto/9cec63fc89d04b65cb8b to your computer and use it in GitHub Desktop.
all the hash
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 | |
mkdir ./.hashes/ | |
arr=($(find `pwd` -type f)) | |
for celery in "${arr[@]}" | |
do | |
name=$(echo $celery | sed 's,.*/,,') | |
echo $name | |
echo $celery | |
md5sum $celery >> ./.hashes/$name.hash.txt | |
sha512sum $celery >> ./.hashes/$name.hash.txt | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment