Hi everybody!
I created a .zip file on a mac of my school.
It's a big file, named "Archivio.zip" and sized 6,6 GiB.
Trying to unpack it using unzip Archivio.zip outputs:
Archive: Archivio.zip
warning [Archivio.zip]: 4294967296 extra bytes at beginning or within zipfile
(attempting to process anyway)
file #1: bad zipfile offset (local header sig): 4294967296
(attempting to re-compensate)
creating: 2013/
error: invalid zip file with overlapped components (possible zip bomb)
surely it's not corrupted, the Mac handles it correctly.
"Correcting" it using zip -F /home/nicolo/Archivio.zip --out menosmonco.zip stops at file being 4 GiB of size.
I need to open it... What can I do?
menosmonco . What do you have on 6,6 GiB? School stuff? Sure you didn't move some games inside ?
This makes me think that the unzipper has a limit for unzipping procedures, but you can simply open the zip and drag everything outside, this way you work around the limit. Of course, for order, better if you create a folder where you want to drag all files.
Have you tried unzip instead? According to the man pages, you need version 6.0+ of unzip to be able to handle files larger than 4GB (which explains why the extraction stops at exactly that point). However, on ZorinOS 16.2 Core, there seems to be installed two separate utilities: zip (version 3.0) and unzip (version 6.0).
It's not clear to me whether these version should be able to handle files larger than 4GB, but since they are different programs, it's probably worth a try.
zen I also found unzip 6.0 on Synaptic Package Manager ..... that is where I downloaded it from ..... just a heads up as I don't use the software store ....
nicolo@nicolo-pc:~$ unzip Archivio.zip Archive: Archivio.zip warning [Archivio.zip]: 4294967296 extra bytes at beginning or within zipfile (attempting to process anyway) file #1: bad zipfile offset (local header sig): 4294967296 (attempting to re-compensate) creating: 2013/ error: invalid zip file with overlapped components (possible zip bomb) nicolo@nicolo-pc:~$
It does not let me open it... Archive Manager (gnome's one) stucks at Reading Archivio.zip with 100% of CPU use and my machine almost freezing (maybe I'll have to wait more...) and ARK (kde's one) tells me it's not a .zip file
It's working!!! It's extracting my files!
(the cpu is 100% and everything is laggy, it's still doing it, not even at a half and already the folder is 20gb)