mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 20:24:54 +02:00
Merge branch 'master' of git://github.com/kenetik/tldr into kenetik-master
This commit is contained in:
commit
ac5eb74c78
1 changed files with 23 additions and 0 deletions
23
pages/common/pigz.md
Normal file
23
pages/common/pigz.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# pigz
|
||||
|
||||
> Multithreaded zlib compression utility.
|
||||
|
||||
- Compress a file with default options:
|
||||
|
||||
`pigz {{filename.ext}}`
|
||||
|
||||
- Compress a file using compression method [1-9] and number of processors [-pN]:
|
||||
|
||||
`pigz -9 -p8 {{filename.ext}}`
|
||||
|
||||
- Decompress a file:
|
||||
|
||||
`pigz -d {{archive.gz}}`
|
||||
|
||||
- List the contents of an archive:
|
||||
|
||||
`pigz -l {{archive.tar.gz}}`
|
||||
|
||||
- Create an compressed archive when piped with tar:
|
||||
|
||||
`tar cvf - {{directory/to/archive}} | pigz -9 -p8 > {{archive.tar.gz}}`
|
Loading…
Add table
Reference in a new issue