Skip to content

Instantly share code, notes, and snippets.

@bigntallmike
Created December 14, 2022 20:51
Show Gist options
  • Save bigntallmike/770ac4400f0329fb71075beec21e51d9 to your computer and use it in GitHub Desktop.
Save bigntallmike/770ac4400f0329fb71075beec21e51d9 to your computer and use it in GitHub Desktop.
#!/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