How do I zip a .app file using terminal? I'm having trouble zipping a .app file. If I zip without -r (recursive) it is really shallow, if I zip with -r it's really dense. The zip doesn't unzip correctly regardless.
From the man page for ditto:

ditto -c -k --sequesterRsrc --keepParent src_directory archive.zip