diff --git a/scripts/archive-and-encrypt.sh b/scripts/archive-and-encrypt.sh index a6c96e3..d1a91e1 100755 --- a/scripts/archive-and-encrypt.sh +++ b/scripts/archive-and-encrypt.sh @@ -4,3 +4,5 @@ path=$2 tar -czvf "$name.tar.gz" "$path" gpg -c "$name.tar.gz" rm -rf "$name.tar.gz" + +// decrypt and untar ==> gpg --decrypt $name.tar.gz.gpg | tar -xvzf -