GPG-ZIP(1)
π GPG-ZIP(1) β GNU Privacy Guard π
okay bestie, sit DOWN, because this one is lowkey iconic. it's gpg-zip, from the GNU Privacy Guard crew, and it's giving "tar but make it cryptographic." π
β¨ NAME β¨
gpg-zip β encrypt or sign files into an archive π¦
πΈ SYNOPSIS πΈ
gpg-zip [options] filename1 [ filename2, ... ] directory1 [ directory2, ... ]
like, you hand it files, you hand it directories, you hand it options, it does its thing. no cap. π
π DESCRIPTION π
gpg-zip encrypts or signs files into an archive. it is, and I quote the ancestors here, an gpg-ized tar β using the same format as used by PGP's PGP Zip. so if you've ever wanted your directory tree to be wrapped up all cozy AND cryptographically locked down, this is literally the girl for the job. π₯
π OPTIONS π
gpg-zip understands these options, and yes we're going through every single one, because we don't skip. β¨
--encrypt,-eβ Encrypt data. π this one can be combined with--symmetric, for output that may be decrypted via a secret key or a passphrase. versatile queen behavior.--decrypt,-dβ Decrypt data. π--symmetric,-cβ Encrypt with a symmetric cipher using a passphrase. the default symmetric cipher used isCAST5, but you can pick a different one with the--cipher-algooption togpg. π--sign,-sβ Make a signature. Seegpg. βοΈ--recipient user,-r userβ Encrypt for user id user. Seegpg. π«Ά--local-user user,-u userβ Use user as the key to sign with. Seegpg. π--list-archiveβ List the contents of the specified archive. peek inside, no unzipping required. π--output file,-o fileβ Write output to specified file file. π--gpg gpgcmdβ Use the specified command gpgcmd instead ofgpg. π§--gpg-args argsβ Pass the specified options togpg. π¦--tar tarcmdβ Use the specified command tarcmd instead oftar. πΈ--tar-args argsβ Pass the specified options totar. β¨--versionβ Print version of the program and exit. main character exit. π--helpβ Display a brief help page and exit. π
π₯ EXAMPLES π₯
Encrypt the contents of directory mydocs for user Bob to file test1:
gpg-zip --encrypt --output test1 --gpg-args -r Bob mydocs
(yes, that spacing is exactly how it is in the original, don't come for me π)
List the contents of archive test1:
gpg-zip --list-archive test1
π DIAGNOSTICS π
The program returns 0 if everything was fine, 1 otherwise.
that's it. zero is slay, one is "bestie something went wrong." π
π SEE ALSO π
The full documentation for this tool is maintained as a Texinfo manual. If GnuPG and the info program are properly installed at your site, the command
info gnupg
should give you access to the complete manual including a menu structure and an index. πβ¨
ngl the official manual name isgpg-zip, the man page section is1, and the whole thing belongs to the GNU Privacy Guard project π«Ά
and that's a wrap, bestie!! this page is from GnuPG 1.4, dated 2011-02-23, and it will forever live in the man page section GPG-ZIP(1). vintage but make it encrypted. πππ¦
π¦ where this page comes from
- fedora 43: gnupg1 1.4.23-28.fc43 Β· GPL-3.0-or-later WITH Classpath-exception-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms