I've a corrupt zip file. I've tried to repair it with
zip -F file.zip
zip -FF file.zip
but was not successful. Is there another terminal tool under Linux for repairing?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
Just referenced this question in my answer to a similar one - Linux Mint 12 - how to open a .zip file in terminal
It is worth adding here what the zip manual currently says about the difference between -F and -FF:
The single -F is more reliable if the archive is not too much damaged, so try this option first.
So the first attempt would be:
zip -F broken.zip --out fixed.zip unzip fixed.zip
And if that doesn't work:
zip -FF broken.zip --out fixed.zip unzip fixed.zip
DiskInternals ZIP Repair works perfectly under Wine it's saved me in the past.