How do I unzip a split zip file?

In Terminal, I wrote: unzip filename.zip and it did not unzip this file.

Terminal wrote:

$ unzip filename.zip
Archive:  filename.zip
warning [filename.zip]:  zipfile claims to be last disk of a multi-part archive;
  attempting to process anyway, assuming all parts have been concatenated
  together in order.  Expect "errors" and warnings...true multi-part support
  doesn't exist yet (coming soon).
file #1:  bad zipfile offset (local header sig):  4
file #2:  bad zipfile offset (local header sig):  98
file #3:  bad zipfile offset (local header sig):  471
file #4:  bad zipfile offset (local header sig):  6635222

Double clicking of this file creating filename.zip.cpgz

What can I do?

link|improve this question
So, are there any other parts of this file or do you only have this one part? If you only have one, are you trying to get the contents of this part only? – slhck Dec 7 '11 at 17:12
Have you tried other uncompression tools? I'd run uncompress and gunzip on the file and see if was processed with one of those. – Wilersh Dec 7 '11 at 20:25
It's no problem to unzip multiple archive using unarchiver.app but I'm looking for the terminal command to do this without of using any apps. – Kris Dec 8 '11 at 14:16
feedback

1 Answer

Try using the unzip command specifying only the first part of the file name, i.e. only zipfile:

unzip zipfile

This might work if the other files are named zipfile.z01, or something like that, and are all also stored in the same directory.

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.