Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

30
p7zip Normal file
View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`