Created
October 8, 2012 20:13
-
-
Save earthmeLon/3854676 to your computer and use it in GitHub Desktop.
.bashrc - Encrypt/Decrypt files w. GPG
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Add this to ~/.bashrc | |
#Encrypt/Decrypt file w. GPG | |
encrypt () | |
{ | |
gpg -ac --no-options "$1" | |
} | |
decrypt () | |
{ | |
gpg --no-options "$1" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment