Created
December 14, 2022 20:51
-
-
Save bigntallmike/770ac4400f0329fb71075beec21e51d9 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
#!/bin/bash | |
SIGFILE="myfiles-`date +%Y%m%d`.lst" | |
find -type f -exec sha256sum "{}" ";" > $SIGFILE | |
gpg --detach-sig $SIGFILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment