1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh for f in ~/pkg/local/pkgs/*.tar.zst; do if [ -e "$f.sig" ]; then echo ":: Skipping $f..." else echo ":: Signing $f..." gpg --use-agent --output "$f.sig" --detach-sig "$f" fi done