Skip to content

Instantly share code, notes, and snippets.

@jsonmaur jsonmaur/
Last active Jun 27, 2017

What would you like to do?
Compresses and encrypts a folder
tar -zcvf $FOLDER.tar.gz $FOLDER
gpg -c $FOLDER.tar.gz
rm -rf $FOLDER $FOLDER.tar.gz
gpg $FOLDER.tar.gz.gpg
tar -zxvf $FOLDER.tar.gz
rm -rf $FOLDER.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.