Skip to content

Instantly share code, notes, and snippets.

@sasha1sum
Last active November 21, 2016 17:36
Show Gist options
  • Save sasha1sum/c3e5ded62685ed5cc4a69c124568c837 to your computer and use it in GitHub Desktop.
Save sasha1sum/c3e5ded62685ed5cc4a69c124568c837 to your computer and use it in GitHub Desktop.
checksum.sh
#!/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