1GPG-ZIP(1) GNU Privacy Guard GPG-ZIP(1)
2
3
4
6 gpg-zip - Encrypt or sign files into an archive
7
9 gpg-zip [options] filename1 [ filename2, ... ] directory1 [ directory2,
10 ... ]
11
12
14 gpg-zip encrypts or signs files into an archive. It is an gpg-ized tar
15 using the same format as used by PGP's PGP Zip.
16
17
19 gpg-zip understands these options:
20
21
22
23 --encrypt
24
25 -e Encrypt data. This option may be combined with --symmetric (for
26 output that may be decrypted via a secret key or a passphrase).
27
28
29 --decrypt
30
31 -d Decrypt data.
32
33
34 --symmetric
35
36 -c Encrypt with a symmetric cipher using a passphrase. The default
37 symmetric cipher used is CAST5, but may be chosen with the
38 --cipher-algo option to gpg.
39
40
41 --sign
42
43 -s Make a signature. See gpg.
44
45
46 --recipient user
47
48 -r user
49 Encrypt for user id user. See gpg.
50
51
52 --local-user user
53
54 -u user
55 Use user as the key to sign with. See gpg.
56
57
58 --list-archive
59 List the contents of the specified archive.
60
61
62 --output file
63
64 -o file
65 Write output to specified file file.
66
67
68 --gpg gpgcmd
69 Use the specified command gpgcmd instead of gpg.
70
71
72 --gpg-args args
73 Pass the specified options to gpg.
74
75
76 --tar tarcmd
77 Use the specified command tarcmd instead of tar.
78
79
80 --tar-args args
81 Pass the specified options to tar.
82
83
84 --version
85 Print version of the program and exit.
86
87
88 --help Display a brief help page and exit.
89
90
91
93 Encrypt the contents of directory ‘mydocs’ for user Bob to file
94 ‘test1’:
95
96 gpg-zip --encrypt --output test1 --gpg-args -r Bob mydocs
97
98
99 List the contents of archive ‘test1’:
100
101 gpg-zip --list-archive test1
102
103
104
106 The program returns 0 if everything was fine, 1 otherwise.
107
108
109
111 gpg(1), tar(1),
112
113 The full documentation for this tool is maintained as a Texinfo manual.
114 If GnuPG and the info program are properly installed at your site, the
115 command
116
117 info gnupg
118
119 should give you access to the complete manual including a menu struc‐
120 ture and an index.
121
122
123
124GnuPG 2.0.22 2018-07-13 GPG-ZIP(1)