Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

smoore808

macrumors newbie
Original poster
Jun 9, 2008
6
0
Hey, I tried to unzip a zipped file, but it stopped in the middle on more than one occasion. I realized that it must have been damaged so I looked through threads and decided to use terminal.

I entered:

unzip -l /Users/smoore808/Desktop/music.zip

And this is what came up:

Archive: /Users/smoore808/Desktop/music.zip
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 /Users/smoore808/Desktop/music.zip or
/Users/smoore808/Desktop/music.zip.zip, and cannot find /Users/smoore808/Desktop/music.zip.ZIP, period.

If anyone could help me on what to enter next it would be very helpful, thank you :)
 

Mitthrawnuruodo

Moderator emeritus
Mar 10, 2004
14,420
1,058
Bergen, Norway
Well before anything else you could the last command from this old thread (which I know you found and read ;)), assuming the music is in mp3 format:

unzip /Users/smoore808/Desktop/music.zip *.mp3*

(If it's another format, like ogg or aac or whatever, adjust accordingly, and if it might be multiple formats, run the command once for each appropriate file type.)
 

smoore808

macrumors newbie
Original poster
Jun 9, 2008
6
0
Oh ok thanks I did that and this is what happened:

Archive: /Users/smoore808/Desktop/music.zip
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 /Users/smoore808/Desktop/music.zip or
/Users/smoore808/Desktop/music.zip.zip, and cannot find /Users/smoore808/Desktop/music.zip.ZIP, period.
 

smoore808

macrumors newbie
Original poster
Jun 9, 2008
6
0
Also when I put this in:

unzip -l /Users/smoore808/Desktop/music.zip

This is what came up:

Archive: /Users/smoore808/Desktop/music.zip
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 /Users/smoore808/Desktop/music.zip or
/Users/smoore808/Desktop/music.zip.zip, and cannot find /Users/smoore808/Desktop/music.zip.ZIP, period.
 

smoore808

macrumors newbie
Original poster
Jun 9, 2008
6
0
OK wow I put this in:

zip -F /Users/smoore808/Desktop/music.zip

Everything came up that was in the file. It was zip: reading blah blah blah for everything. There were pics and word documents and music.

What do I do after this?

zip error: Zip file structure invalid (/Users/smoore808/Desktop/music.zip)

That is what it said at the bottom of everything in my zipped folder.
 

smoore808

macrumors newbie
Original poster
Jun 9, 2008
6
0
Is there any way to fix this from keep coming up (or could someone tell me what it means?):

Archive: /Users/smoore808/Desktop/music copy.zip
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 /Users/smoore808/Desktop/music copy.zip or
/Users/smoore808/Desktop/music copy.zip.zip, and cannot find /Users/smoore808/Desktop/music copy.zip.ZIP, period.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.