Last active
November 30, 2015 20:16
-
-
Save xman1980/1596157fd5c296a2dd39 to your computer and use it in GitHub Desktop.
password_tar_gz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Encrypt | |
% tar cz folder_to_encrypt | \ | |
openssl enc -aes-256-cbc -e > out.tar.gz.enc | |
Decrypt | |
% openssl aes-256-cbc -d -in out.tar.gz.enc | tar xz | |
Or using gpg | |
% gpg --encrypt out.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment