Archived
1
0

Added compression level and cores documentation

This commit is contained in:
2020-03-02 21:49:54 +00:00
parent 22bc6ba4ac
commit 1e4ef2c9f0

View File

@@ -4,10 +4,10 @@ apt install pigz
```
## Compress
```
tar cf - <inputdir> | pigz > <output.tar.gz>
tar cf - [inputdir] | pigz -[compression level (0 = none, 1 = minimal, 9 = maximum)] -p[cores] > [output.tar.gz]
```
## Extract
```
unpigz < <input.tar.gz> | (cd <extract location> && tar xvf -)
unpigz < [input.tar.gz] | (cd [extract location] && tar xvf -)
```