unzip 解压大文件失败的解决办法

来源:互联网 发布:淘宝定金尾款怎么设置 编辑:程序博客网 时间:2024/04/27 13:53

unzip解压5.8G的压缩包失败,报错如下

[root@localhost llc]# unzip cloud_IDP_temp1009.zip
Archive:  cloud_IDP_temp1009.zip
warning [cloud_IDP_temp1009.zip]:  76 extra bytes at beginning or within zipfile
  (attempting to process anyway)
error [cloud_IDP_temp1009.zip]:  reported length of central directory is
  -76 bytes too long (Atari STZip zipfile?  J.H.Holm ZIPSPLIT 1.1
  zipfile?).  Compensating...
   skipping: cloud_IDP_temp1009/cloud_IDP_temp1009-disk1.vmdk  need PK compat. v4.5 (can do v2.1)
   creating: cloud_IDP_temp1009/
 extracting: cloud_IDP_temp1009/cloud_IDP_temp1009.vmsd  
  inflating: cloud_IDP_temp1009/cloud_IDP_temp1009.vmx  
  inflating: cloud_IDP_temp1009/cloud_IDP_temp1009.vmxf  
  inflating: cloud_IDP_temp1009/nvram  
  inflating: cloud_IDP_temp1009/vmware-0.log  
  inflating: cloud_IDP_temp1009/vmware.log  

note:  didn't find end-of-central-dir signature at end of central dir.
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)


解决办法:

http://sourceforge.net/projects/p7zip/files/p7zip/下载 p7zip_9.20.1_src_all.tar.bz2包

tar -xjpf   p7zip_9.20.1_src_all.tar.bz2   或者 tar xvjf p7zip_9.20.1_src_all.tar.bz2
cd   p7zip_9.20.1

make && make install

用7za命令解压即可

7za x cloud_IDP_temp1009.zip


0 0
原创粉丝点击