Linux: How To Repair Corrupted Zip File

kimconnect@linuxbox:/media/data/newPhotos $ zip -FF corrupted.zip --out fixed.zip

Fix archive (-FF) - salvage what can
	zip warning: Missing end (EOCDR) signature - either this archive
                     is not readable or the end is damaged
Is this a single-disk archive?  (y/n): y
  Assuming single-disk archive
Scanning for entries...
 copying: IMG_1432.jpg  (9931009 bytes)
 copying: IMG_1433.jpg  (8932163 bytes)
 copying: IMG_1434.jpg  (8586891 bytes)
 copying: IMG_1435.jpg  (9703556 bytes)
 copying: IMG_1436.jpg  (10764218 bytes)
 copying: IMG_1437.jpg  (9423911 bytes)
 copying: IMG_1439.jpg  (10689551 bytes)
 copying: IMG_1440.jpg  (10562950 bytes)
 copying: IMG_1441.jpg  (9531534 bytes)
 copying: IMG_1442.jpg  (10681506 bytes)
 copying: IMG_1443.jpg  (10603245 bytes)
 copying: IMG_1444.jpg  (10641268 bytes)
 copying: IMG_1445.jpg  (10773751 bytes)
 copying: IMG_1446.jpg  (10251277 bytes)
 copying: IMG_1447.jpg  (8875128 bytes)
 copying: IMG_1448.jpg  (11836407 bytes)
 copying: IMG_1449.jpg  (7532016 bytes)
 copying: IMG_1450.jpg  (8242273 bytes)
 copying: IMG_1453.jpg  (10231604 bytes)
 copying: IMG_1454.jpg  (10158118 bytes)
 copying: IMG_1455.jpg  (10365642 bytes)
 copying: IMG_1456.jpg  (9608581 bytes)
 copying: IMG_1457.jpg  (9257520 bytes)
 copying: IMG_1458.jpg  (10370496 bytes)
Posted on Categories Linux

Leave a Reply

Your email address will not be published. Required fields are marked *