Linux: File password protection

Using gpg

# compress and encrypt
gpg -c filename
>> Enter password
# filename.gpg is encrypted file
# decrypt
gpg -d filename.gpg

 http://superuser.com/questions/162624/how-to-password-protect-gzip-files-on-the-command-line

Leave a Reply

Your email address will not be published. Required fields are marked *