Linux

1> 压缩
1.1> tar -cvf xxx.tar ./images/*.jpg
1.2> rar xxx.rar ./images
1.3> zip xxx.zip ./images

2> 解压
2.1> tar -xvf xxx.tar
2.2> unrar xxx.rar
2.3> unzip xxx.zip

原文地址:https://www.cnblogs.com/andremao/p/7284816.html