Re: 10GB zipfile

2017-01-18 Thread Juan Francisco Cantero Hurtado
On Wed, Jan 18, 2017 at 06:33:17PM +0100, Jan Stary wrote:
> I have a big zipfile that I am trying to unzip witn archivers/unzip.
> 
> $ unzip -ql file.zip 
> warning [file.zip]:  6682546438 extra bytes at beginning or within
> zipfile (attempting to process anyway)
>   error [file.zip]:  start of central directory not found; zipfile corrupt.
> 
> $ ls -l file.zip
> -rw-r--r--  1 hans  hans  10977521995 Jan 18 18:24 file.zip
> 
> I am pretty sure the zipfile is OK. Given that the fie size
> minus the "extra bytes" is very near 4GB, could this be
> a 4GB file-size problem? If so, would people please recommend
> an unzipper which can go beyond 4GB?

Maybe this command?

python3.6 -m zipfile -e bigfile.zip output/

I don't have a big file to test the command.

-- 
Juan Francisco Cantero Hurtado http://juanfra.info



Re: 10GB zipfile

2017-01-18 Thread Jan Vlach
Hi Jan,

I believe 7z (p7zip package) can uncompress *zip files too. Give it a
shot.

Jan

On Wed, Jan 18, 2017 at 06:33:17PM +0100, Jan Stary wrote:
> I have a big zipfile that I am trying to unzip witn archivers/unzip.
> 
> $ unzip -ql file.zip 
> warning [file.zip]:  6682546438 extra bytes at beginning or within
> zipfile (attempting to process anyway)
>   error [file.zip]:  start of central directory not found; zipfile corrupt.
> 
> $ ls -l file.zip
> -rw-r--r--  1 hans  hans  10977521995 Jan 18 18:24 file.zip
> 
> I am pretty sure the zipfile is OK. Given that the fie size
> minus the "extra bytes" is very near 4GB, could this be
> a 4GB file-size problem? If so, would people please recommend
> an unzipper which can go beyond 4GB?
> 
>   Thank you
> 
>   Jan