Create an encrypted tar file with openssl

tar c paths_to_files_and_dirs | gzip -c | openssl des3 > encrypted.tar.gz

August 9, 2011bashoneliners

Explanation

Decrypt with: openssl des3 -d < encrypted.tar.gz | tar zx