Multi Threaded Decompression

想要多线程解压,先多线程压缩

tar with pigz

tar --use-compress-program=pigz -cvpf app.tar.gz app
tar --use-compress-program=pigz -xvpf app.tar.gz

tar with xz

tar --use-compress-program='xz -1T0' -cvpf app.tar.xz app
tar --use-compress-program='xz -1T0' -xvpf app.tar.xz

文档信息