title: GPG encryption and decryption of a folder using command line
body: <p>man page of gpg command line (Gnupg) has commands to encrypt and decrypt files. Here is a standard command to encrypt/decrypt files with gpg. <br></p>
  
  <p><code>gpg --encrypt --recipient xxx@mail.com ~/xxx/xxx.txt</code> - to encrypt <br></p>
  
  <p><code>gpg --output ~/xxx/xxx.txt --decrypt ~/xxx/xxx.gpg</code> - to decrypt <br></p>
  
  <p>But if i have a folder with multiple files and folders, how can i encrypt it with command line?</p>