cd appPathzip -r -0 ../app.jar ./*cd ..ls - app.jar
注意:-0 表示仅存储不压缩,jar文件要求不能压缩,所以必须加-0参数
zip linux zip zip 打包 http://blog.xqlee.com/article/923.html