Skip to content

Instantly share code, notes, and snippets.

@maveonair
Created December 30, 2012 13:16
Show Gist options
  • Save maveonair/4412795 to your computer and use it in GitHub Desktop.
Save maveonair/4412795 to your computer and use it in GitHub Desktop.
En/decrypt tar files with openssl
encrypt:
tar -cj directory | openssl des3 -salt > encrypted.tarfile
decrypt:
cat encrypted.tarfile | openssl des3 -d -salt |tar -xvj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment