Cannot Open Large Concatenated Zip File With Unzip, Though It Opened Fine With Archive Utility, Get A Central Directory Error


Answer :

Try

zip -F science_team_meeting_archive.zip -O science_team_meeting_archive.fixed.zip 

If that doesn't work, you just need more 'F's

zip -FF science_team_meeting_archive.zip -O science_team_meeting_archive.fixed.zip 

If either of these work, you then unzip normally with:

unzip science_team_meeting_archive.fixed.zip  

For more info about this, use:

man zip 

7z x

I had the same issue with unzip %x on Linux for a .zip file larger than 4GB, compounded with a only DEFLATED entries can have EXT descriptor error.

The command 7z x resolved all my issues though.

Be careful though, the command 7z x will extract all files with a path rooted in the current directory. The option -o allows to specify an output directory.


Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable