commands.sh

gpg-zip

all

Encrypt files and directories in an archive using GPG.

More info →

Options (3)

-c, --symmetricboolean

Encrypt a directory into `archive.gpg` using a passphrase

Example: gpg-zip {{[-c|--symmetric]}} {{[-o|--output]}} {{archive.gpg}} {{path/to/directory}}
-o, --outputboolean

Encrypt a directory into `archive.gpg` using a passphrase

Example: gpg-zip {{[-c|--symmetric]}} {{[-o|--output]}} {{archive.gpg}} {{path/to/directory}}
-d, --decryptboolean

Decrypt `archive.gpg` into a directory of the same name

Example: gpg-zip {{[-d|--decrypt]}} {{path/to/archive.gpg}}

Examples (3)

Encrypt a directory into `archive.gpg` using a passphrase

gpg-zip [-c|--symmetric] [-o|--output] archive.gpg path/to/directory

Decrypt `archive.gpg` into a directory of the same name

gpg-zip [-d|--decrypt] path/to/archive.gpg

List the contents of the encrypted `archive.gpg`

gpg-zip --list-archive path/to/archive.gpg
made by @shridhargupta | data from tldr-pages