Need Terminal Expert

Discussion in 'Mac Basics and Help' started by smoore808, Jun 9, 2008.

  1. smoore808 macrumors newbie

    Joined:
    Jun 9, 2008
    #1
    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

    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.

    Today, 12:27 AM #5
    smoore808
    Thread Starter
    macrumors newbie

    Join Date: Jun 2008
    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.

    Today, 11:11 AM #6
    smoore808
    Thread Starter
    macrumors newbie

    Join Date: Jun 2008
    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.
     
  2. Latro macrumors member

    Joined:
    Mar 23, 2008
    #2
    It sounds like there are more files that make up the zip.

    For example, to reduce size to make transfers of compressed files easier they'll often break them up into multiple .zip or .rar or other compression file types.

    It looks like there is another file, and terminal wants the last file created to be able to unzip all the data correctly.
     

Share This Page