专注ECSHOP第九年
始自2007,服务二千多商户,不断为您增光溢彩

linux下解压被分割的zip大文件

由于网络不稳定以及文件上传比较慢问题,我们经常会把文件分割成多个文件,然后逐个上传到服务器上

Linux 下,使用unzip解压时,报错:

$ unzip trunk.zip

提示:

Archive:  trunk.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of trunk.zip or
        trunk.zip.zip, and cannot find trunk.zip.ZIP, period.

$ du -sh trunk.zip
2.3G    trunk.zip

文件大小为 2.3G,可能是 unzip 设置了这个限制吧。在网上查到要用 jar 来解

 $ jar xvf trunk.zip

  如果出现

jar:Command not found

  要用yum下载

$ yum -y install java-1.6.0-openjdk-devel

再次运行

$ jar xvf trunk.zip

就能成功,看来,多查查资料,备用很为重要。。

赞(0) 打赏
未经允许不得转载:阿牛ECSHOP » linux下解压被分割的zip大文件
分享到: 更多 (0)
1

评论 1

  1. #-49

    共同发展!学习才会进步,谢了

    苑芷幽8年前 (2015-12-13)回复

阿牛ECSHOP 更专业 更方便

关于我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏