From 031efda8d125cb43acb638b150e9670f0c544694 Mon Sep 17 00:00:00 2001 From: MT <59728838+mt-empty@users.noreply.github.com> Date: Thu, 30 Jan 2020 23:01:31 +1100 Subject: [PATCH] p7zip: add page (#3813) --- pages/common/p7zip.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/common/p7zip.md diff --git a/pages/common/p7zip.md b/pages/common/p7zip.md new file mode 100644 index 0000000000..9a43d8fe2c --- /dev/null +++ b/pages/common/p7zip.md @@ -0,0 +1,25 @@ +# p7zip + +> Wrapper of 7-Zip file archiver with high compression ratio. +> Internally executes either 7za or 7zr command. +> More information: . + +- Archive a file, replacing it with a 7zipped compressed version: + +`p7zip {{path/to/file}}` + +- Archive a file keeping the input file: + +`p7zip -k {{path/to/file}}` + +- Decompress a file, replacing it with the original uncompressed version: + +`p7zip -d {{compressed.ext}}.7z` + +- Decompress a file keeping the input file: + +`p7zip -d -k {{compressed.ext}}.7z` + +- Skip some checks and force compression or decompression: + +`p7zip -f {{path/to/file}}`