Jun 13, 2017

How To Fix A Zip File

If you have a zip archive which is broken, you can try and fix it using the -F command and if that fails the -FF command.

This is useful if you have created a split archive using the -s switch and you have lost one of the archive files.
For example, try this one first:
zip -F filename.zip --out fixedfilename.zip
and then
zip -FF filename.zip --out fixedfilename.zip