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

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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值