p7zip: add page (#3813)

client-spec/clarity
MT 2020-01-30 23:01:31 +11:00 committed by GitHub
parent 2769e54b41
commit 031efda8d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
pages/common/p7zip.md Normal file
View File

@ -0,0 +1,25 @@
# p7zip
> Wrapper of 7-Zip file archiver with high compression ratio.
> Internally executes either 7za or 7zr command.
> More information: <http://p7zip.sourceforge.net>.
- 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}}`