/rezip

Use different programming languages to accomplish the same task: rezip.

rezip

Use different programming languages to accomplish the same task: rezip.

What we have

  • We have two folders: the input folder and the output folder.
  • There are a lot of folders and files in the input folder while the output folder is empty.

What we want

  • Find all of the zip files in the input folder recursively, adjust the size of the zip files to make each of them smaller than 500k. Put the final zip files into the output folder.
  • The number of final zip files should be minimal, so you must try to make the zip files size as close to 500k as possible.
  • You are not required to preserve the old zip files' names. So you are allowed to create new zip files to replace the old ones