Tagged: compression

Utilizing multi core for tar+gzip/bzip compression/decompression

We have couple options: pigz and pbzip2. tar -c –use-compress-program=pigz -f my_archive.tar.gz /home/archive The other trick useful trick is that you can exclude some directories or files tar -zcvf my_archive.tar.gz –exclude=’cache’ –exclude=’.git’ /home/archive