今天在Linux服务器中解压一个zip的压缩包,提示如下错误信息:

[root@appsrv01 ZIP_BCSA_COURSES]# unzip BCSA_MEDIAS_BAK_20161118.zip
error: Zip file too big (greater than 4294959102 bytes)
Archive: BCSA_MEDIAS_BAK_20161118.zip
warning [BCSA_MEDIAS_BAK_20161118.zip]: 31450041244 extra bytes at beginning or within zipfile
(attempting to process anyway)
error [BCSA_MEDIAS_BAK_20161118.zip]: start of central directory not found;
zipfile corrupt.
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)
[root@appsrv01 ZIP_BCSA_COURSES]#

经过百度才知道,原来unzip不能解压超过4GB的zip文件(没想到这么弱。。。),需要把鸟枪换炮(p7zip)了。

yum -y install p7zip

[root@appsrv01 ZIP_BCSA_COURSES]# yum -y install p7zip
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package p7zip.x86_64 0:9.20.1-2.el5 set to be updated
--> Finished Dependency Resolution Dependencies Resolved ======================================================================================
Package Arch Version Repository Size
======================================================================================
Installing:
p7zip x86_64 9.20.1-2.el5 epel 745 k Transaction Summary
======================================================================================
Install 1 Package(s)
Upgrade 0 Package(s) Total download size: 745 k
Downloading Packages:
p7zip-9.20.1-2.el5.x86_64.rpm | 745 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : p7zip 1/1
Installed products updated. Installed:
p7zip.x86_64 0:9.20.1-2.el5 Complete!
[root@appsrv01 ZIP_BCSA_COURSES]#

安装完毕后使用“7za x BCSA_COURSE.zip”即可解压超过4GB的zip压缩文件。

最新文章

  1. tensorflow学习笔记二:入门基础
  2. CSS基础篇之选择符
  3. java 获取中文字符的首字母
  4. Virtual Box下配置Host-Only联网方式详解
  5. Android 自定义 view(三)—— onDraw 方法理解
  6. 移动 Web 开发技巧之(后续)
  7. ifconfig 工具
  8. MR 的 mapper 数量问题
  9. Win7下配置nginx和php5
  10. git log友好显示
  11. php实现网页HTML标签补全方法
  12. shell数组(产生不同的随机数)
  13. 【ActionBar的使用】
  14. C该程序生成一个唯一的序列号
  15. 【子非鱼】插入排序过程呈现之java内置GUI表示
  16. 一个使用openGL渲染的炫丽Android动画库
  17. 读了前半本<Thinking in Java>
  18. python系列之 - 并发编程(进程池,线程池,协程)
  19. UNIX环境高级编程——信号说明列表
  20. MONGODB(二)——索引操作

热门文章

  1. NGUI 新手引导
  2. Fresco支持的URIs
  3. 我 && yii2(日志埋点,邮件提醒)
  4. 全自动ARP实时绑定BAT文件
  5. 解决JQuery.ajax.post乱码问题
  6. .NET平台开发Mongo基础知识
  7. C# rename方法重命名文件
  8. 韩服LOL
  9. RPLIDAR使用和测试
  10. linux下的device tree