(OT) split zip file on the fly

Thomas Kaiser thomas at kaiser.linux-site.net
Sat Feb 26 16:35:42 UTC 2005


I now this, but windows does not recognize gzip files!

I tried to use zipsplit on a pipe, but it didn't work. I got following 
error:
zipsplit error: Invalid command arguments (zip file cannot be stdin)

Any suggestions?

Thomas


Martin Schmitz wrote:
> 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