How to simply encrypt a folder with gpg?

You will be prompted for a passphrase twice:

tar -cf - these files here | gpg -c > these-files-here.tgp



To extract the files, enter the password entered above:


gpg < these-files-here.tgp | tar -xvf -

http://www.linuxjournal.com/article/8732

Answers

Add Answer