$ tar --create --file - --posix --gzip -- <dir> | openssl enc -e -aes256 -out <file>
Create an AES256 encrypted and compressed tar archive.
User is prompted to enter the password.
Decrypt with:
openssl enc -d -aes256 -in <file> | tar --extract --file - --gzip
by David Winterbottom (codeinthehole.com)
0sem comentários ainda