Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

spunkybart

macrumors member
Original poster
Jan 7, 2008
82
80
In Windows, if I wanted to add files to an existing zip file, I just dragged the files onto the zip and they would be added.

How do I do this on the Mac?

Dragging the files in Finder onto the existing zip file doesn't seem to do anything.

And if I double click on the zip file, it just gets automatically expanded. So, I don't get any option to add files.
 
Angelo -- I have Stuffit Expander, but that doesn't really give me the option to add additional files to an existing zip file.

I'm still looking online, but I haven't found a utility yet.

Thanks for your reply!
 
You can use the command-line zip program to do this. Sure, it's a pain if you're not used to the UNIX shell prompt. I do it all the time, though.
 
Typing:
Code:
man zip
...at the shell prompt explains all the options. Concisely:
To add a few files to an existing zip archive:
Code:
zip /path/to/zipfile.zip file1 file2 file3
To add an entire directory full of files, along with all subdirectories it contains:
Code:
cd /path/to/directory/to/add
zip -r /path/to/zipfile.zip *
Careful with that second command - it'll add EVERYTHING, even those pesky .DS_Store files. You probably don't want those, so, here's how to fix that:
Code:
zip -d /path/to/zipfile.zip *.DS_Store
 
Angelo -- I have Stuffit Expander, but that doesn't really give me the option to add additional files to an existing zip file.

I'm still looking online, but I haven't found a utility yet.

Thanks for your reply!
Stuffit expander doesn’t create zip files - it’s just for expanding files created by stuffit (mostly for their .sit format). He his talking about Stuffit Deluxe which does more zip file management.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.