Cleaned up and merge other Linux snippit repo
Meged https://git.bprieshof.nl/brammp/linux into ./Linux
This commit is contained in:
13
Linux/Docs/HowTo-Multicore Gzip.md
Normal file
13
Linux/Docs/HowTo-Multicore Gzip.md
Normal file
@@ -0,0 +1,13 @@
|
||||
## Install
|
||||
```
|
||||
apt install pigz
|
||||
```
|
||||
## Compress
|
||||
```
|
||||
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 -)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user