Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 stop Mac OS X from putting hidden .Trashes and .Spotlight-V100 folders/files on USB drives?

share|improve this question

You can prevent spotlight from indexing certain folders by going to the "privacy" tab in the "Spotlight" preference pane in the System Preferences app. You can use this to add specfic USB drives to the list of things not to index. That should get rid of the .Spotlight-V100 files. This is not a generic solition for "all drives", but has to be done specifically for each drive.

As for not creating .Trashes files. I don't think that's possible. That's how OS X deals with deleted items.

share|improve this answer

I don't know of anyway to stop them being put on manually, but Blue Harvest is a tool that will do it for you.

share|improve this answer

One way is to create files called .Trashes and .Spotlight-V100

To be sure, do this from a Windows PC and make the files read-only. Just be careful that they don't get deleted.

When you try to delete files now, OS X will tell you they must be deleted immediately instead of moving them to the trash.

share|improve this answer
This works, but not in a general sense. I keep having these conversations along the lines "what are all these hidden files you put on my drive" - not ideal... – John McC Oct 2 '09 at 4:05

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.