zip I/O error: No such file or directory zip error: Input file read failure (was zipping..

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/m0_37677536/article/details/79258388

一,在linux上用zip:zip -r www.zip www/压缩文件发现报这个错误:

zip I/O error: No such file or directory

zip error: Input file read failure (was zipping www/WEB-INF/SHEETUPLOAD/20170109/1483928803178uid518.JPG)

原因:压缩文件夹过大超过4G就需要分成多个文件压缩。
解决办法:
用tar压缩:tar cvfz www.tar.gz www/

linux 通配符压缩,批量指定文件夹压缩,或者指定目录下文件夹不压缩:
http://blog.csdn.net/m0_37677536/article/details/79267798

猜你喜欢

转载自blog.csdn.net/m0_37677536/article/details/79258388