Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Compressing folders on a mac, without the .DS_Store

OS X includes undesired, "extra" files when creating .zip's of folders that look poor in Windows & Linux. How to rectify?

This Create Zip Files Without Any Mac-Specific “Extras” Inside references ZipCleaner, which appears to be no longer downloadable given MobileMe is shut down (as of 2012-07-02).

Would prefer some solution that doesn't require me to a "fix" a .zip file that's created, but rather just create the .zip correctly the first time, executable from both Finder and cmdline. Anything exist? (Will take as a replacement/workaround to post-creation "fix" the .zip if no method exists.)

share|improve this question

marked as duplicate by Andrew Lambert, Journeyman Geek, KronoS, Nifle, soandos Jul 13 '12 at 18:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Info-ZIP does not yet support compressing the resource fork, which makes it suitable for this. When it does, its -df option will tell it to only compress the data fork.

share|improve this answer
Is this the Info-ZIP you speak of? – Johnny Utahh Jul 3 '12 at 3:29
Yes, but you probably already have it. Try man zip. – Ignacio Vazquez-Abrams Jul 3 '12 at 4:34

Not the answer you're looking for? Browse other questions tagged or ask your own question.