yum install -y lzma 壓縮: tar -c --lzma -f test.tar.lzma xx.log xxx.log 解壓: unlzma test.tar.lzma tar xvf test.tar