5

I have here 5GB zip file but I have no idea how to unzip that.

I tried:

7z x file.zip 

Returns: Error: Can not open file as archive

jar xvf file.zip 

Returns: jar: error opening file.zip for reading: Value too large for defined data type

unzip file.zip 

Returns:

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.

The file does seem to be a zip archive:

$ file file.zip
file.zip: Zip archive data, at least v1.0 to extract

Any idea?

Thanks.

terdon
  • 104,119
pavel
  • 175

1 Answers1

2

The file does indeed appear to be a zip archive. I have no idea why you're getting this problem. It sounds like a limitation of unzip but that, again, is very unlikely. Anyway, one possible workaround is to use zcat instead. However, this will only work as expected if the compressed data is a single file, not a bunch of files and directories:

zcat file.zip > file.unzipped

The other option of course is that the file is either corrupt (you say it's not in your comment but give no evidence to support the claim) or part of a larger archive. Without more information about the file itself we can't help.

terdon
  • 104,119