Gzip acceleration tool Pigz

Posted May 30, 20201 min read

Pigz = Parallel Implementation of GZip

installation

Debain:
sudo apt install pigz
Centos:
sudo yum install pigz

Instructions

1 Compress and do not keep the source file

pigz <filename>

2 Compress and keep the source file

pigz -k <filename>

3 View compression statistics

pigz -l <filename> .gz

4 Fastest compression

pigz -1 <filename>

5 Compress at maximum compression rate

pigz -9 <filename>

6 Compressed directory

tar --use-compress-program =" pigz -k "-cf <filepath> .tar.gz <filepath>

7 Unzip the file

pigz -d <filename> .gz
unpigz <filename> .gz