Skip to content

Instantly share code, notes, and snippets.

@alfonsodev
Created October 3, 2013 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alfonsodev/6816186 to your computer and use it in GitHub Desktop.
Save alfonsodev/6816186 to your computer and use it in GitHub Desktop.
zip and encrypt files and decrypt
tar -zcvf mifolder.tar.gz mifolder/ | openssl enc -aes-256-cbc -e > mifolder.tar.gz.enc
openssl aes-256-cbc -d -in mifolder.tar.gz.enc -out mifolder.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment