Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function to zip text + encrypt, 2 params (text to encrypt, filename w/o extension). Add to .bash_profile
#function to zip text + encrypt, 2 params (text to encrypt, filename w/o extension)
function zipe() {
echo "$1" > $2.txt && zip -e $2.zip $2.txt && rm $2.txt
}
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.