On Mac OS X, you can create a zip archive from the Finder by selecting some files and selecting \"Compress\" from the contextual menu or the File menu. Unfortunately, the r
Use the ditto command-line tool as follows:
ditto -ck --rsrc --sequesterRsrc folder file.zip
See the ditto man page for more.