From f7b073cc49507e3da91681feb541710eda8ab896 Mon Sep 17 00:00:00 2001 From: Saif Azmi Date: Fri, 5 Oct 2018 23:37:28 +0100 Subject: [PATCH] gpg-zip: add page (#2392) --- pages/common/gpg-zip.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/common/gpg-zip.md diff --git a/pages/common/gpg-zip.md b/pages/common/gpg-zip.md new file mode 100644 index 000000000..4a024bc02 --- /dev/null +++ b/pages/common/gpg-zip.md @@ -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}}`