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

How do I remove and prevent from ever being created the DS_Store files on Mac OSX?

I found this article,, that describes preventing them from being created on network storage devices but says it doesn't work for local storage (IE my hard drive).

To be clear, I don't want to hide them, I want them not to be created.

share|improve this question
up vote 2 down vote accepted

The short answer is that you have to hack the Finder binary at runtime to prevent it from creating them. There is no official Apple-blessed way of doing this without directly hacking binaries.

"There's an app for that" nowadays. See this blog and this code which is quite awesome if you ask me :)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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