Mac zip compress without __MACOSX folder?

Scott B picture Scott B · Jun 7, 2012 · Viewed 121.3k times · Source

When I compress files with the built in zip compressor in Mac OSX, it results in an extra folder titled "__MACOSX" created in the extracted zip.

Can I adjust my settings to keep this folder from being created or do I need to purchase a third party compression tool?

UPDATE: I just found a freeware app for OSX that solves my problem: "YemuZip"

UPDATE 2: YemuZip is no longer freeware

Answer

Chris Johnson picture Chris Johnson · Dec 2, 2012

Can be fixed after the fact by zip -d filename.zip __MACOSX/\*