[HOW-TO] Zip files for repo on a PC

Discussion in 'iPod touch' started by Axis, Feb 18, 2008.

  1. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    [HOW TO] Zip files for repo on a PC

    How to Zip Files/Folders on a PC, So That They Work on Your Repo


    Please follow these instructions carefully:

    1. Create a folder on your desktop that you can easily find and remember the name of. (I suggest something like "zip" or "zipper")

    2. Download this command line Cygwin zipper made by Scythal (Please correct me if I'm wrong; it was my understanding he made it.) here: scythal.googlepages.com/zip.zip

    3. Extract the two files to the folder that you made on your desktop. There should be two files: one called "cygwin1.dll" and another called "zip".

    3.a- Don't try to click on "zip" as there is no GUI, and it is run through the command line.

    4. Click Start, then Run; and type in "cmd" before you click "OK".

    5. In the command prompt window, you will have to change directory (cd) to the folder containing "zip" and the "cygwin1.dll".

    5.a- type in something like this (your drive may be different.)
    cd C:\Documents and Settings\UserName\Desktop\zipper
    *In your case it should be: cd PathToTheFolder

    6. Copy and paste the theme, folder, or whatever you want to zip into the folder made in Step 1.

    *The commands for zipping files and folder differ slightly so please read on carefully below.

    FOR FILES

    Type this command into Command Prompt: zip NameOfZip FileToAdd FileToAdd2 etc.

    *The zip will appear in the folder you created in Step 1.

    FOR FOLDERS

    Type in this command: zip -r NameOfZip FolderToAdd FolderToAdd2 etc.

    *The zip will appear in the folder you created in Step 1.
    _______________________

    VIDEO TUTORIAL:


    Thanks mofolo.

    http://www.youtube.com/watch?v=-JLzLqQLZl8

    **Thanks to Scythal for teaching me almost everything I know on this subject.
    4 people like this.
  2. Abcmsaj

    Abcmsaj Retired Moderator

    Joined:
    Jan 26, 2008
    Messages:
    5,501
    Likes Received:
    122
    Device:
    iPhone 6 Plus
    Thank
    YOU.
    Looking everywhere for it.
    I haven't tried it yet coz Skins is on, but I'll subscribe to it and get back to you on it.

    Please Register or Log in to view images


    Thanks again
  3. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    The information is out there, except it's all spread out in diferent pockets on the forums.
  4. H3X

    H3X New Member

    Joined:
    Dec 3, 2007
    Messages:
    649
    Likes Received:
    6
    Actually with the project I am currently working on (my sig), we have figured out how to do this by adding a few lines of code to the repo.xml file.

    This means that users can zip the file normally in windows and everything will still work.

    Good tutorial, though.
  5. ZombieKiller

    ZombieKiller Banned

    Joined:
    Oct 21, 2007
    Messages:
    3,740
    Likes Received:
    30
    Device:
    iPhone 3G (White)
    I dont get this...

    zip -r NameOfZip FolderToAdd FolderToAdd2

    Would it be like this???

    zip -r RedandBlack Applcations System
  6. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    It's zip -r
    Followed by what you want the zip to be called; followed by the folders to add, separated by spaces.
  7. vegaspimp13

    vegaspimp13 Banned

    Joined:
    Jan 30, 2008
    Messages:
    145
    Likes Received:
    2
  8. ZombieKiller

    ZombieKiller Banned

    Joined:
    Oct 21, 2007
    Messages:
    3,740
    Likes Received:
    30
    Device:
    iPhone 3G (White)
    Thank you!

    It works great!!!

    Time to get my red and black skin on installer.
  9. Steaps

    Steaps New Member

    Joined:
    Oct 24, 2007
    Messages:
    5,074
    Likes Received:
    41
    Device:
    iPod touch
    What are these few lines of code

    Please Register or Log in to view images

  10. vegaspimp13

    vegaspimp13 Banned

    Joined:
    Jan 30, 2008
    Messages:
    145
    Likes Received:
    2
    This should be stickied.WOOT WOOT Rep Added

Share This Page