mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 14:26:00 +02:00
pigz: add directory compression example (#3139)
This commit is contained in:
parent
39f6f93a5c
commit
613e171318
1 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,10 @@
|
||||||
|
|
||||||
`pigz -0 -p{{4}} {{filename}}`
|
`pigz -0 -p{{4}} {{filename}}`
|
||||||
|
|
||||||
|
- Compress a directory using tar:
|
||||||
|
|
||||||
|
`tar cf - {{path/to/directory}} | pigz > {{filename}}.tar.gz`
|
||||||
|
|
||||||
- Decompress a file:
|
- Decompress a file:
|
||||||
|
|
||||||
`pigz -d {{archive.gz}}`
|
`pigz -d {{archive.gz}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue