我这里有5GB的压缩文件,但我不知道如何解压缩。
我试过:
7z x file.zip 返回:Error: Can not open file as archive
jar xvf file.zip 返回:jar: error opening file.zip for reading: Value too large for defined data type
unzip file.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.
note: file.zip may be a plain executable, not an archive
unzip: cannot find zipfile directory in one of file.zip or
file.zip.zip, and cannot find file.zip.ZIP, period.这个文件看起来确实是一个zip归档文件:
$ file file.zip
file.zip: Zip archive data, at least v1.0 to extract有什么想法吗?
谢谢。
发布于 2014-07-20 13:21:22
这个文件看起来确实是一个zip归档文件。我不知道你为什么会遇到这个问题。这听起来像是unzip的一个限制,但这也是不太可能的。无论如何,一个可能的解决办法是使用zcat代替。但是,只有当压缩的数据是单个文件,而不是一堆文件和目录时,这才能按预期工作:
zcat file.zip > file.unzipped当然,另一种选择是,该文件要么损坏(您说它不在您的评论中,但没有提供支持声明的证据),要么是更大的存档的一部分。如果没有关于文件本身的更多信息,我们将无能为力。
https://askubuntu.com/questions/500249
复制相似问题