Zipping files in Mac OSX is easy:
- select the file/s;
- right-click or ctrl+click;
- choose “Compress…”.
Adding files to an existing zip file is less intuitive. There are ways to deal with this: use Stuffit; use some other commercial program; or even, as one thread I found suggested:
- unzip the existing file;
- open the new folder;
- add your new files;
- delete the old file;
- re-compress the folder;
- rename the new file.
Um, yeah? Right? No. Wrong, definitely wrong.
So instead open terminal, use cd to navigate to the right folder then type:
zip /path/to/zipfile.zip file1 file2 file3
and press Enter
To add an entire directory and all subdirectories navigate as above then type:
zip /path/to/zipfile.zip * -r -x *.DS_Store
Note the file exclusion switch at the end, after all, you don’t need your DS_Store files.
That’s it, enjoy.