Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to compress a folder into multiple zip files of 50MB each but don't want them to be dependent on each other. When I use Winzip and use the split feature it creates one zip file and the others are just continuation to it. So, that means I need all of the files to unzip the folder.

I want to unzip each file separately and I don't care if the files are of varied sizes as long as they are less than 50MB.

share|improve this question
Yea now that is a challenge man! I dont wanna ask why, but the onluy way is to make separate folder.. Ha.. makes sense.. You will need a script or something to do it auto. – ppumkin Dec 16 '11 at 16:25
You coul;d do it through trial and error... Select 55mb/60mb of files, zip them and check the filesize, if it's below then great, do the next set - if it isn't select a few less and try again. – HaydnWVN Dec 16 '11 at 16:59
Pretty much exactly what I already said :) – OG Chuck Low Dec 16 '11 at 17:04
You can extract the contents of part zips with no problem. Each part contains the full list though, so what will get extracted is hit and miss. – ppumkin Mar 21 '14 at 20:28
It would be fairly easy, in, say, Java, to write a program that would guestimate compression based on file type and generate zip files with a "target" size, not always guaranteeing to do it perfectly. Then, if you added a trial-and-error feature you probably could approximate "perfect". SMOP. – Daniel R Hicks Mar 21 '14 at 20:33

WinZip (or any modern compressing software) can't know before compressing what will be the size of compressed data. On top of that, the size of a compressed file would change (by a tiny bit) depending of the nearby files data. So if that's not theoretically impossible, WinZip is not able to do this nor any data compression software I know of, as it would involve compressing the data many times to get the closer matches. Your best hope is to manually select groups of files and compress them to get ~50MB files. And when I write "manually", you may want to try writing a script doing the work for you. But I guess 50MB is not a hard limit, and you could just use the approximation method by hand.

share|improve this answer
You answer is overly verbose. Further it focuses on a detail that has little bearing. His size caveat was an afterthought to his being able to manipulate each individual segment of the archive as a functional whole unto itself. – OG Chuck Low Dec 16 '11 at 17:35
+1 for courtesy. i don't downvote very often (and am not now, on any of these answers - but only on principle), but i'll upvote civility any day. unfortunately those days are becoming far & few between. – michael_n Sep 3 '12 at 23:52

Use SpinZip to create multiple independent zip files with defined sizes.

share|improve this answer

Not happening boss. The ONLY way you could do this would be to simply Zip each individual archive that you want to be fully functional on it's own. All there is to it.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .