Password Protect Tar.gz File

Prompts for the password and restores the original file. gpg -d my_archive.tar.gz.gpg > my_archive.tar.gz Use code with caution. Copied to clipboard One-Step (Archive + Encrypt): tar -czf - folder_name | gpg -c > archive.tar.gz.gpg Use code with caution. Copied to clipboard 2. Using OpenSSL

tar -czvf - folder_name | gpg --symmetric --cipher-algo AES256 -o archive.tar.gz.gpg Use code with caution. Copied to clipboard password protect tar.gz file

There is a specific kind of digital confidence that comes with creating a .tar.gz file. You have taken a messy directory of photos, scripts, or sensitive documents and compressed them into a singular, elegant artifact. It is neat. It is tidy. It is the digital equivalent of cleaning your room. Prompts for the password and restores the original file