Password Protect Tar.gz File Portable -
zip --encrypt -r secured_backup.zip my_folder/
This will prompt you to enter a password to encrypt the file. password protect tar.gz file
openssl enc -aes-256-cbc -salt -in backup.tar.gz -out backup.tar.gz.enc zip --encrypt -r secured_backup
. It creates a compressed archive with AES-256 encryption that is easily opened on Windows, Mac, or Linux. Command Line: z a -p -mhe=on archive.7z folder_name Use code with caution. Copied to clipboard : Prompts for a password. password protect tar.gz file
Using the command-line version of 7-zip ( p7zip-full ):
tar -czf - folder_name | openssl enc -aes-256-cbc -e -out archive.tar.gz.enc Use code with caution. Copied to clipboard