Recover Corrupt Zip File on Mac

May 7, 2014 By xpgraphics Uncategorized No Comments

spacer

Have you ever received a zip file or sent one that ended up being corrupt or bad and couldn’t be opened? We have all been there. There are a million reasons to the cause but surfing google to find a solution can take forever sometimes. Don’t worry this solution is not complicated or time consuming even though you will need to use some code per say. Now let’s get into what we are doing here so you can get that zip file and its contents.

Step 1: Open terminal

  • Navigate to Applications > Utilities > Terminal

Step 2: Type in the following information (inputting your information in the brackets)

This is our guide: zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]

  • zip -F [filename].zip  –out [newfilename].zip

Step 3: Hopefully you get this message

“Zip entry offsets do not need adjusting” – If so you are done and you should see your new zip file in the same place as your corrupt one and if not we continue below with step 4.

Step 4: Type in the following line (inputting your information in the brackets)

  • zip -FF [filename].zip –out [newfilename.zip]
  • Press “Enter”
  • When prompted type “y” for yes

You should then see your new file in the same directory as the original corrupted zip. From here you should be able to unzip and recover your corrupted zip contents.

 

corrupt, corrupt zip, zip Share
  • Tweet
  • spacer
  • Newer
    Older

    No Comments

    Leave a Reply Cancel Reply

    You must be logged in to post a comment.