tar 用多核心壓縮/解壓縮

# yum install -y pigz

先安裝 pigz

# tar –use-compress-program=pigz -cf xxx.tar.gz xxx

壓縮

tar –use-compress-program=pigz -xf xxx.tar.gz

解壓縮