Updated encrypt script and ignore

This commit is contained in:
CommanderRedYT
2021-12-24 12:12:02 +01:00
parent 9d1cf7d8d2
commit 013a0617cf
2 changed files with 6 additions and 1 deletions

Binary file not shown.

View File

@ -1,3 +1,8 @@
#!/bin/bash
tar czf ignore.tar.gz ignore
gpg -c ignore.tar.gz
if test -z ${BOBBY_GPG+y}
then
gpg -c --batch --yes ignore.tar.gz
else
gpg -c --batch --yes --passphrase=$BOBBY_GPG ignore.tar.gz
fi