Zip command?

Discussion in 'iOS Jailbreak & Cydia' started by spinner, Jan 9, 2008.

  1. spinner

    spinner New Member

    Joined:
    Nov 9, 2007
    Messages:
    377
    Likes Received:
    14
    Does anyone know how to use the mobile terminal zip command from moyashi's source in installer? I finally made a them directly on my itouch and can't zip it so I can ul it to ishare. I type in zip and then the whole directory to where my theme is and it comes back with Nothing to do! (Transporter.zip) Why is it doing this and how do I zip folders and files with mobile terminal?
  2. ScottB

    ScottB New Member

    Joined:
    Dec 14, 2007
    Messages:
    75
    Likes Received:
    0
    zip -r zipname.zip filename
  3. spinner

    spinner New Member

    Joined:
    Nov 9, 2007
    Messages:
    377
    Likes Received:
    14
    It didn't work, could you give me an example? I type in zip -r Transporter.zip Transporter and it says zip warning: name not matched: Transporter Help please.
  4. ScottB

    ScottB New Member

    Joined:
    Dec 14, 2007
    Messages:
    75
    Likes Received:
    0
    Go to the directory above the directory you want to zip. In my example I will be in the /var/root directory and I want to zip the iGo directory and its contents to a file called myfile.zip.

    cd /var/root
    zip -r myfile.zip iGo
  5. ScottB

    ScottB New Member

    Joined:
    Dec 14, 2007
    Messages:
    75
    Likes Received:
    0
    I just looked and I am using the "CLU - zip" package from R4m0n. It has zip and unzip.
  6. spinner

    spinner New Member

    Joined:
    Nov 9, 2007
    Messages:
    377
    Likes Received:
    14
    Sorry, still getting the same message. More details please. (thanks for being so helpful)
  7. spinner

    spinner New Member

    Joined:
    Nov 9, 2007
    Messages:
    377
    Likes Received:
    14
    K, using CLU zip and still the same message. More details please! I have the file Transporter in /var/root and I'm still getting the name not matched message.
  8. ScottB

    ScottB New Member

    Joined:
    Dec 14, 2007
    Messages:
    75
    Likes Received:
    0
    If your directory is call Transporter then you need to do this:

    cd /var/root
    zip -r Transporter.zip Transporter

    Make sure you have the case correct and the entire file name. I dont know if it applies here but I have found that the "_" character doesnt show up in the terminal window so make sure your directory name doesnt contain that.

    Can you post a screenshot of:

    cd /var/root
    ls
  9. spinner

    spinner New Member

    Joined:
    Nov 9, 2007
    Messages:
    377
    Likes Received:
    14
  10. spinner

    spinner New Member

    Joined:
    Nov 9, 2007
    Messages:
    377
    Likes Received:
    14
    Sorry, can't post an image from my pod. (and I don't have a pc) I entered in exactly that and it still says the name not matched stuff.

Share This Page