1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 04:17:58 +01:00

gpg-zip: add page (#2392)

This commit is contained in:
Saif Azmi 2018-10-05 23:37:28 +01:00 committed by Starbeamrainbowlabs
parent eb5f76dcf4
commit f7b073cc49

15
pages/common/gpg-zip.md Normal file
View file

@ -0,0 +1,15 @@
# gpg-zip
> Encrypt files and directories in an archive using GPG.
- Encrypt a directory into archive.gpg using a passphrase:
`gpg-zip --symmetric --output {{archive.gpg}} {{path/to/directory}}`
- Decrypt archive.gpg into a directory of the same name:
`gpg-zip --decrypt {{path/to/archive.gpg}}`
- List the contents of the encrypted archive.gpg:
`gpg-zip --list-archive {{path/to/archive.gpg}}`