How to zip up files with subfolders

Discussion in 'Mapping Questions & Discussion' started by Pocket, Apr 3, 2011.

  1. Pocket

    aa Pocket func_croc

    Messages:
    4,488
    Positive Ratings:
    2,213
    You know how when you download models and textures and stuff, how the zip file usually includes the folder information from /models and /materials all the way down, so people can just extract into /tf and it takes care of the rest? Yeah, I just realized I have no idea how to do that. The only thing I can think of is to just zip the entire /materials and /models folders, and then go through and delete everything that's not my content.

    I have 7-Zip, but if Windows' own ZIP support has a better way to do this, that works too.
     
  2. EArkham

    aa EArkham Necromancer

    Messages:
    1,555
    Positive Ratings:
    2,157
    I make a folder somewhere else called "materials/" or "models/" or whatever, then copy the directory structure inside for only the stuff I'm zipping up. Make the zip archive, then drag the created folder onto the archive.

    There's probably an easier way of doing it though. But this is easier than copying everything and deleting what you don't want.

    Kep
     
    • Thanks Thanks x 1
  3. Mr. Happy

    Mr. Happy L6: Sharp Member

    Messages:
    320
    Positive Ratings:
    144
    That's what I do except:

    Just right click on the root folder and click "Add to archive..."