Decrypt archive.gpg into a directory of the same name

gpg-zip

  • Encrypt files and directories in an archive using GPG.
    More information: <https://www.gnupg.org/documentation/manuals/gnupg/gpg_002dzip.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

gpg-zip --decrypt {{path/to/archive.gpg}}

click the source code to copy install gpg-zip on any operating system with command-not-found.com