Splitting large zip archives

iceblink iceblink at seti.nl
Wed Mar 16 18:44:30 UTC 2016


On 2016-03-16 16:52, Ralf Mardorf wrote:
> On Wed, 16 Mar 2016 14:48:31 +0100, iceblink wrote:
>   >split -b 2000000000 hugefile
>   >
>   >would take the hugefile and split into 2000000000 byte chunks, and
>   >name those chunks xaa, xab, etc
> 
>   On Tue, 15 Mar 2016 14:00:29 +0000, R Kimber wrote:
>   >I need to be able to slpit large zip archives (e.g. 9GB) into 
> smaller
>   >zip archives (<4GB) so that individual files are not split across 
> the
>                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>  >smaller archives.
>  ^^^^^^^^^^^^^^^^^^
> 
> So I suspect that 'split' isn't what the OP wants.
> 
Good point. What an unusual request! Normally one would then already 
split the zip file during zipping?

Anyway, info-zip (http://www.info-zip.org/) claims to do it if I read 
the man page correctly, using something like

zip -s 2g hugefile.zip --out splitfile.zip

And frankly info-zip sounds very much like a standard linux zip, so you 
may already be able to use the above command without installing 
anything…

Best of luck,
Patrick





More information about the ubuntu-users mailing list