首先cd到要压缩文件的目录,然后使用zip命令压缩文件
zip -r importExcel.zip importExcel
-r表示递归
linux压缩文件命令-zip
原文:https://www.cnblogs.com/kaerxifa/p/11382310.html