how to extract winzip files?

andrew clarke mail at
Mon Feb 23 01:11:32 PST 2004

On Mon, Feb 23, 2004 at 09:55:24AM +0100, Martin Vana wrote:

> Is there a way, I can uncompress zip files made under win? 
> Unzip from ports collection probably can't do that:

It should.  My guess is the file you're attempting to unzip is corrupt
somehow, or simply not a ZIP file at all.  Try running the `file'
command on it, eg.

$file /usr/ports/distfiles/
/usr/ports/distfiles/ Zip archive data, at least v2.0 to extract

> 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.
> and I'm sure this is not multipart archive or broken file.

I suppose it's possible that more recent versions of WinZip generate ZIP
files that can't be decompressed (or decrypted) by InfoZip's Unzip, but
I'm fairly certain that Unzip wouldn't return this error message as a
result.  The "central directory" should still exist in the ZIP file.


More information about the freebsd-questions mailing list