tldr/pages/common/pigz.md

24 lines
394 B
Markdown
Raw Normal View History

2016-01-14 12:12:09 +00:00
# pigz
> Multithreaded zlib compression utility.
- Compress a file with default options:
2016-01-24 23:24:49 +00:00
`pigz {{filename}}`
2016-01-14 12:12:09 +00:00
2016-01-24 23:24:49 +00:00
- Compress a file using the best compression method:
2016-01-14 12:12:09 +00:00
2016-01-24 23:24:49 +00:00
`pigz -9 {{filename}}`
- Compress a file using no compression and 4 processors:
`pigz -0 -p{{4}} {{filename}}`
2016-01-14 12:12:09 +00:00
- Decompress a file:
`pigz -d {{archive.gz}}`
- List the contents of an archive:
`pigz -l {{archive.tar.gz}}`