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

解壓縮

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.