Last active
November 21, 2016 17:36
-
-
Save sasha1sum/c3e5ded62685ed5cc4a69c124568c837 to your computer and use it in GitHub Desktop.
checksum.sh
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
#!/bin/bash | |
for f in *; do | |
echo $f | |
pv $f | md5sum - | sed "s/-$/$f/" >> checksum.md5 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment