Re: decompressing large zip files

Peter Reutemann <[email protected]>
Newsgroups gmane.org.user-groups.linux.waikato
Message-ID <CAHoQ12LkC186gN1MrWYDc4Z0dRPX7izRT9w7Ah9Ry=-9d_Zeyg@mail.gmail.com>
> > Once in a while, I get large zip files from clients. Since they are
> > running Windows, their zip tool doesn't have the same 4GB limitation
> > that the unzip command-line tool under Linux usually has.
>
> I just tried zipping and unzipping this file
>
>     -rw-r--r-- 1 ldo users 7769948160 Dec 10  2015 new/distros/CentOS-7-x86_64-Everything-1511.iso
>
> which as you can see is over 7GB in size, using the standard Debian
> “zip” and “unzip” commands. Worked just fine.
>
> (For what it’s worth, the zip archive compressed the file down by just
> 3.4%.)

unzip -q file.zip
warning [file.zip]:  810575875 extra bytes at beginning or within zipfile
  (attempting to process anyway)
error [file.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)

The file size is 4.8GB (5106462267 bytes).

Cheers, Peter
-- 
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 858-5174
http://www.cms.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/
_______________________________________________
wlug mailing list | [email protected]
Unsubscribe: https://list.waikato.ac.nz/mailman/listinfo/wlug
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.