解决在linux系统下解压大文件zip时出错的办法 - 鼎峰VPS 帮助中心
解决在linux系统下解压大文件zip时出错的办法
文章分类: [Linux] 发布时间:2012-2-15 21:40 Wednesday 浏览(516)

Archive:*.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 *.zip……

 

一般出现这个由于ZIP地大,UNZIP执行不了。这时我们可以安装jar解压。用YUM使命安装

yum -y install java-1.6.0-openjdk-devel

 

再次运行

jar xvf *.zip

 

OK,解压成功!

 

还有一种方法:

 

使用 7zip来解压 

wget http://downloads.sourceforge.net/project/p7zip/p7zip/9.13/p7zip_9.13_src_all.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fp7zip%2Ffiles%2F&ts=1283040874&use_mirror=voxel

tar -jxvf p7zip_9.13_src_all.tar.bz2

cd p7zip_9.13

make

make install 
安装完成, 

7za x *.zip 
成功了