How to use Pigz with Tar

So I use pigz in tar with

tar --use-compress-program=pigz

and it works, but it does not use all my processors, and I would like to make sure that it is recursive (-r) and uses (-9 compression level).

I read through the use of the multi-core tar / gzip / bzip compression / decompression kernel , but it does not notice anything to add additional commands in this format, and I could not find anything on the manual page for any program for additional switching.

Thanks Cam

+4
source share
1 answer

, SO, , , :

tar cf - paths-to-archive | pigz -9 -p 32 > archive.tar.gz

: fooobar.com/questions/41942/...

+7

All Articles