Scroll to navigation

GPG-ZIP(1) General Commands Manual GPG-ZIP(1)


gpg-zip - encrypt or sign files into an archive


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


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.


Encrypt data. This option may be combined with --symmetric (for output that may be decrypted via a secret key or a passphrase).
Decrypt data.
Encrypt with a symmetric cipher using a passphrase. The default symmetric cipher used is CAST5, but may be chosen with the --cipher-algo option to gpg(1).
Make a signature. See gpg(1).
Encrypt for user id USER. See gpg(1).
Use USER as the key to sign with. See gpg(1).
List the contents of the specified archive.
Write output to specified file FILE.
Use the specified command instead of gpg.
--gpg-args ARGS
Pass the specified options to gpg(1).
Use the specified command instead of tar.
--tar-args ARGS
Pass the specified options to tar(1).
Output a short usage information.
Output the program version.


The program returns 0 if everything was fine, 1 otherwise.


Encrypt the contents of directory mydocs for user Bob to file test1:

gpg-zip --encrypt --output test1 --gpg-args -r Bob"" mydocs

List the contents of archive test1:

gpg-zip --list-archive test1


gpg(1), tar(1)


Copyright (C) 2005 Free Software Foundation, Inc. Please report bugs to <>.

This manpage was written by Colin Tuckley <> and Daniel Leidert <> for the Debian distribution (but may be used by others).

November 2006