published by admin on Sat, 04/11/2015 - 20:26
Create a tar ball and encrypt with a password.
- tar cvf tar_filename.tar files
- gzip tar_filename.tar
- openssl enc -e -des3 -salt -in tar_ball_filename.tar.gz -out filename.bin
Provide a password when prompted.
To decrypt:
- openssl des3 -d -salt -in filename.bin -out filename.tar.gz
- gzip -d filename.tar.gz
- tar -xf filename.tar
Provide the password when prompted.