smoore808
asked on
Need a Terminal Expert to help with unzipping a damaged file.
I have a large zipped file that is damaged so wont unzip. I used terminal and managed to list everything that was in my zipped folder with this:
zip -F /Users/smoore808/Desktop/m usic.zip
It made a big huge long list of everything in there, but I dont know how to get it out. I tried to enter this:
unzip /Users/smoore808/Desktop/m usic.zip *.mp3*
But this error keeps coming up everytime I try to get something out:
Archive: /Users/smoore808/Desktop/m usic.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/m usic.zip or
/Users/smoore808/Desktop/m usic.zip.z ip, and cannot find /Users/smoore808/Desktop/m usic.zip.Z IP, period.
Could someone tell me what this error means, or even better, how to get rid of it? Thank you in advance :)
zip -F /Users/smoore808/Desktop/m
It made a big huge long list of everything in there, but I dont know how to get it out. I tried to enter this:
unzip /Users/smoore808/Desktop/m
But this error keeps coming up everytime I try to get something out:
Archive: /Users/smoore808/Desktop/m
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/m
/Users/smoore808/Desktop/m
Could someone tell me what this error means, or even better, how to get rid of it? Thank you in advance :)
Only work from a copy so things don't get any worse.
Try a repair using:
zip -F /Users/smoore808/Desktop/m usic.zip
Try listing the contents:
unzip -l /Users/smoore808/Desktop/m usic.zip
If you can see the contents try extracting any file that matches your citreria, eg:
unzip /Users/smoore808/Desktop/m usic.zip *.mp3*
If this is coming up as a spanned disk and you know it is a single file I would not be that hopeful though :(
Try a repair using:
zip -F /Users/smoore808/Desktop/m
Try listing the contents:
unzip -l /Users/smoore808/Desktop/m
If you can see the contents try extracting any file that matches your citreria, eg:
unzip /Users/smoore808/Desktop/m
If this is coming up as a spanned disk and you know it is a single file I would not be that hopeful though :(
ASKER
Ok when I put in:
zip -F /Users/smoore808/Desktop/m usic.zip
Everything in the zipped file was shown (it took a while to list them all).
When I put:
unzip -l /Users/smoore808/Desktop/m usic.zip
This showed up (I think this is the big problem):
Archive: /Users/smoore808/Desktop/m usic.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/m usic.zip or
/Users/smoore808/Desktop/m usic.zip.z ip, and cannot find /Users/smoore808/Desktop/m usic.zip.Z IP, period.
That also came up when I tried to unzip mp3 files =(
zip -F /Users/smoore808/Desktop/m
Everything in the zipped file was shown (it took a while to list them all).
When I put:
unzip -l /Users/smoore808/Desktop/m
This showed up (I think this is the big problem):
Archive: /Users/smoore808/Desktop/m
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/m
/Users/smoore808/Desktop/m
That also came up when I tried to unzip mp3 files =(
hmm ... maybe I should have started with
unzip -v /Users/smoore808/Desktop/m usic.zip
If you get "unexpected end of file" then I guess you are out of luck :(
unzip -v /Users/smoore808/Desktop/m
If you get "unexpected end of file" then I guess you are out of luck :(
ASKER
Ok I put that in and got this message again =( :
Archive: /Users/smoore808/Desktop/m usic.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/m usic.zip or
/Users/smoore808/Desktop/m usic.zip.z ip, and cannot find /Users/smoore808/Desktop/m usic.zip.Z IP, period.
Archive: /Users/smoore808/Desktop/m
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/m
/Users/smoore808/Desktop/m
Sounds like you've the last file in a multi-part Zip archive .. there should be other files like
music01.zip, music02.zip etc.
Without all the zip files in the archive it is pretty much unrecoverable.
When you list the contents .. and get 100 files (for example) and they are all MP3 then you are looking at 4+Mb each. As MP3s do not compress very much the overall ZIP would be in the 360-400Mb range or larger. IF the ZIP was only 100Mb I'd be looking for 3 other parts to the Zip file. As an example.
music01.zip, music02.zip etc.
Without all the zip files in the archive it is pretty much unrecoverable.
When you list the contents .. and get 100 files (for example) and they are all MP3 then you are looking at 4+Mb each. As MP3s do not compress very much the overall ZIP would be in the 360-400Mb range or larger. IF the ZIP was only 100Mb I'd be looking for 3 other parts to the Zip file. As an example.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Oh dang, oh well. Hmm if I have the music on my iphone, is there a way to get it back on my comp?
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Oh thank you =) I guess I'll buy it.
ASKER