如何从linux服务器上的大(30Gb)zip文件中提取文件
发布时间:2021-01-17 18:07:19 所属栏目:Linux 来源:互联网
导读:1)从大型zip文件中提取 我想从linux服务器上的大型zip文件(30Gb)中提取文件.有足够的可用磁盘空间. 我试过jar xf dataset.zip.但是,按钮已满,出现错误,无法提取所有文件. 我尝试解压缩,但zipfile损坏. Archive: dataset.zip warning [dataset.zip]: 351415642
|
1)从大型zip文件中提取 我想从linux服务器上的大型zip文件(30Gb)中提取文件.有足够的可用磁盘空间. 我试过jar xf dataset.zip.但是,按钮已满,出现错误,无法提取所有文件. 我尝试解压缩,但zipfile损坏. Archive: dataset.zip warning [dataset.zip]: 35141564204 extra bytes at beginning or within zipfile (attempting to process anyway) error [dataset.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) 我尝试了zip -FF dataset.zip –out data.zip,并且输入太大的错误: zip错误:条目太大而无法拆分,读取或写入(压缩效果不佳导致意外大量输入 – 请尝试-fz) 无论如何我能从高大的zip文件中有效地提取文件吗? 2)从大型zip文件中提取某些文件 如果我只想要这个大型zip文件中的某些文件,那么我是否只能提取这些文件?例如,来自dataset.zip的data1.txt?似乎我不能使用任何zip或unzip命令(总是有zipfile损坏的问题). 谢谢! 解决方法我已经解决了这个问题.事实证明这是一个zip损坏问题.我首先修复了以下文件:zip -FF filename1.zip --out filename2.zip -fz 然后解压缩固定的zipfile: unzip filename2.zip 并已成功提取所有文件! 非常感谢Fattaneh Talebi的帮助! (编辑:东莞站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
- linux – libtool与64位目标平台上的32位版本的l
- 如何使用xlib监听Linux上的屏幕分辨率更改
- linux – 为什么clock_gettime(CLOCK_REALTIME,.
- linux-kernel – 有人可以帮我替换块设备驱动程序
- linux – dhclient:“RTNETLINK回答:文件存在”
- LINUX实操:Linux内核源码各目录功能说明
- linux – 限制bash循环
- 8 Pratical Examples of Linux “Touch” Comman
- linux – 从shell脚本解析文件中的键/值的代码
- linux – bash脚本在文本文件中查找模式并返回整
热点阅读
