Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I created a multi-file zip archive of some files using 7zip on Windows to allow more easy uploading to my server. I now want to unzip this archive on the server, but I get this error:

[user@host ~/uploads/Android_SS_VM]$ unzip Android_SS.zip.001
Archive:  Android_SS.zip.001
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of Android_SS.zip.001 or
		Android_SS.zip.001.zip, and cannot find Android_SS.zip.001.ZIP, period.

How can I extract this archive in FreeBSD?

share|improve this question
add comment

1 Answer

I think the error message is telling you that unzip needs the last part as the argument (not the first):

# replace .999 with the last number of your multi-part
$ unzip Android_SS.zip.999

You can also get a commandline version of 7-zip for FreeBSD. p7zip is in the Ports archive, and the official 7-zip provides a sourcecode tarball for download.

Edit: Several posts in various linux forums indicate that using unzip on a multipart archive actually needs some other steps:

# combine all multiparts
$ cat Android_SS.zip.* > Android_SS.zip

# fix the zip
$ zip -F Android_SS.zip

# unzip
$ unzip Android_SS.zip
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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