Skip to content

Instantly share code, notes, and snippets.

@earthmeLon
Created October 8, 2012 20:13
Show Gist options
  • Save earthmeLon/3854676 to your computer and use it in GitHub Desktop.
Save earthmeLon/3854676 to your computer and use it in GitHub Desktop.
.bashrc - Encrypt/Decrypt files w. GPG
#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