(OT) split zip file on the fly

Martin Schmitz ubuntu at zangpo.org
Sat Feb 26 15:52:56 UTC 2005


Thomas Kaiser wrote:
> I would like to zip a large folder to a FAT32 partition. But the 
> resulting zip file will exceed 2GB. The file size is limited to 2GB on 
> FAT. Is there a way to split the resulting zip file "on the fly" into 
> multiply zip files.

gzip -r -c <directory> | split -b 2048m

> This multiply zipfiles should be compatible with 
> windows.

You just have to concatenate the split-files like
'cat x* | gzip -d' but I'm sorry I don't know anything about the
capabilities of windows software. You could do it with a cygwin shell
anyway.

Martin





More information about the ubuntu-users mailing list