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 :)
message usually indicates corrupt or incomplete zip files. most zip programs will let you see whats inside, can you test it. but as i said message usually indicates corrupt or incomplete zip files.
The "zip" file format stores its "directory structure" at the physical end of the archive.
Use any program that is capable of viewing a binary file and look at the very end of the file. If you don't see some of the filenames that you know are in the archive in plain text then you don't have the complete zip file and there's nothing you can really do to retrieve the data from it.
Use any program that is capable of viewing a binary file and look at the very end of the file. If you don't see some of the filenames that you know are in the archive in plain text then you don't have the complete zip file and there's nothing you can really do to retrieve the data from it.
ASKER
I tried to unzip it and it unzipped fine until it got towards the end when it suddenly stopped, and I waited for over an hour and it didnt unzip anymore.
ASKER
Is there any way to get these files out? And jester, what programs would that be?
I doubt if there is any way to reliably retrieve the content of the zip file if it is incomplete. There used to be (several years back... maybe 10-15) programs to "repair" damaged zip files. Perhaps they're still some for todays more modern archive formats. You might search Google for something like that and try it on a copy of your file. Try a Google search for "repair damaged zipfile".
Regarding programs that can view binary files... again, there are many referenced on Google but one i use is "XE.EXE". It can view and edit binary files of any size. I've had it so long I don't remember where I found it. Try a Google search for "binary file viewer".
Regarding programs that can view binary files... again, there are many referenced on Google but one i use is "XE.EXE". It can view and edit binary files of any size. I've had it so long I don't remember where I found it. Try a Google search for "binary file viewer".
ASKER
Hmm those apps seem to be for PC's and i have a mac.
Is there anybody out there who has greta knowledge on the 'Terminal' application? I saw other people retrieve files from a damaged zipped folder, but when I tried what they did I came up with the error I posted above. So I will wait for a nice terminal knowledged person to come and help :)
Is there anybody out there who has greta knowledge on the 'Terminal' application? I saw other people retrieve files from a damaged zipped folder, but when I tried what they did I came up with the error I posted above. So I will wait for a nice terminal knowledged person to come and help :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.