Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # stop script on errors
- set -e
- PROG=sha256sum
- FILENAME=verify-tree
- echo ""
- echo "Checking: ${FILENAME}.sha256"
- echo "File Hashes: $(wc -l ${FILENAME}.sha256)"
- time ${PROG} -c --quiet "${FILENAME}.sha256"
- echo ""
- echo "All files verified."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement