up vote 6 down vote favorite
share [g+] share [fb]

I've a corrupt zip file. I've tried to repair it with

zip -F file.zip

and

zip -FF file.zip

but was not successful. Is there another terminal tool under Linux for repairing?

link|improve this question

50% accept rate
Maybe the file is FUBR? – LiraNuna Aug 30 '09 at 1:30
feedback

migrated from stackoverflow.com Aug 16 '09 at 0:41

This question came from our site for professional and enthusiast programmers.

3 Answers

DiskInternals ZIP Repair works perfectly under Wine it's saved me in the past.

link|improve this answer
You can also just extract the actual executable from the installer using 7-Zip. Works like a charm. – Goyuix Sep 25 '10 at 15:46
feedback

I'm not aware of a program that will do a better job repairing the archive though.

You might try

unzip -vt file.zip

just to see if maybe you can extract some of the files safely, or figure out which files in the archive are corrupt.

link|improve this answer
thanks for the hint, but i get the same result as with "zip -F" :( – Sirakov Aug 13 '09 at 21:33
feedback

try this

zip -FF Corrupted.zip --out New.zip

This will scan the corrupted zip archive and make a new one eliminating the errors.

As a result you will get a new zip file. Then simply run this command.

unzip New.zip

Hope this helps.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.