Quantcast
Channel: SpiderSoft » Linux
Viewing all articles
Browse latest Browse all 20

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

$
0
0
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

Viewing all articles
Browse latest Browse all 20

Trending Articles