Linux "gpg-zip" Command Line Options and Examples
encrypt or sign files into an archive

This manual page documents briefly the gpg-zip command. gpg-zip encrypts or signs files into an archive. It is an gpg-ized tar using the same format as PGP's PGP Zip.


Usage:

gpg-zip [OPTIONS] filename1 [filename2, ...] directory1 [directory2, ...]






Command Line Options:

-e
Encrypt data. This option may be combined with --symmetric (for output that may be decrypted via a secret key or apassphrase).
gpg-zip -e ...
-c
Encrypt with a symmetric cipher using a passphrase. The default symmetric cipher used is CAST5, but may be chosen with the
gpg-zip -c ...
--cipher-algo
option to gpg(1).
gpg-zip --cipher-algo ...
-s
Make a signature. See gpg(1).
gpg-zip -s ...
-r
Encrypt for user id USER. See gpg(1).
gpg-zip -r ...
-u
Use USER as the key to sign with. See gpg(1).
gpg-zip -u ...
--list-archive
List the contents of the specified archive.
gpg-zip --list-archive ...
-o
Write output to specified file FILE.
gpg-zip -o ...
--gpg
Use the specified command instead of gpg.
gpg-zip --gpg ...
--gpg-args
Pass the specified options to gpg(1).
gpg-zip --gpg-args ...
--tar
Use the specified command instead of tar.
gpg-zip --tar ...
--tar-args
Pass the specified options to tar(1).
gpg-zip --tar-args ...
-h
Output a short usage information.
gpg-zip -h ...
--version
Output the program version.DIAGNOSTICSThe program returns 0 if everything was fine, 1 otherwise.EXAMPLESEncrypt the contents of directory mydocs for user Bob to file test1:gpg-zip --encrypt --output test1 --gpg-args -r Bob"" mydocsList the contents of archive test1:gpg-zip --list-archive test1
gpg-zip --version ...