1

I have got the following error message. The zip file(5GB) may be too big

Archive:  /home/wing92518/Documents/simulation_set_1_result/replication_1.zip
warning [/home/wing92518/Documents/simulation_set_1_result/replication_1.zip]:  849850736 extra bytes at beginning or within zipfile
  (attempting to process anyway)
error [/home/wing92518/Documents/simulation_set_1_result/replication_1.zip]:  start of central directory not found;
  zipfile corrupt.
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)
3
  • 1
    1) do you have enough free space? 2) attach the output of the commandfile /home/wing92518/Documents/simulation_set_1_result/replication_1.zip – M. Dm. Dec 18 '17 at 8:48
  • Are you sure the zip downloaded properly? It says zipfile corrupt. – Jebby Dec 18 '17 at 8:49
  • Yep, probably your file is corrupt. – JonasCz Dec 18 '17 at 8:51
3

As your zip file seems to be corrupt (zipfile corrupt), you can try to repair the file and then unzip the repaired file:

zip -FF corrupt.zip --out repaired.zip
unzip repaired.zip  

Note that the corrupt parts might be missing.

from unzip manual:

-FF
   --fixfix
          Fix the zip archive. The -F option can be used if some portions of the archive are missing, but requires a reasonably intact central directory.  The input archive is scanned as usual, but zip
          will ignore some problems.  The resulting archive should be valid, but any inconsistent entries will be left out.

          When  doubled  as  in -FF, the archive is scanned from the beginning and zip scans for special signatures to identify the limits between the archive members. The single -F is more reliable if
          the archive is not too much damaged, so try this option first.

(via)

1
  • if my answer helped you with your problem, feel free to mark the answer accepted. thanks – pLumo Dec 20 '17 at 10:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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