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:
parent
eb5f76dcf4
commit
f7b073cc49
1 changed files with 15 additions and 0 deletions
15
pages/common/gpg-zip.md
Normal file
15
pages/common/gpg-zip.md
Normal 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}}`
|
Loading…
Reference in a new issue