I have a directory which contains files and I need to create individual ZIP files of these files based on a 4GB size restriction without creating a multipart ZIP archive. Could someone help here how to achieve this?
I knew about passing the -s parameter to the ZIP command (zip -s 4096m zipfile.zip *.xml) but htis will create a multipart ZIP which I don't need it.
And I need to split the ZIP files based on the 4GB size with incremental ZIP file names like if I do zip -s 4096 archive.zip *.xml. It should create ZIP files like archive.zip, archive1.zip with size of 4GB split etc. in the same directory but not the multipart ZP files like archive.zip, archive.z01 etc..
 
    