4

I tried the approach in How do I tell Spotlight not to index a particular folder? but it still indexes my SD card when I reinsert it into my card reader.

How do I stop this, either for all SD cards or for a particular one?


edit: It looks like I can do this either with that method or with mdutil, but I also need to delete all the hidden dotfiles (.Spotlight-V100 .Trashes ._.Trashes and .fseventsd) from the SD card -- this is for my Garmin GPS and the GPS somehow doesn't like the dotfiles.

When I delete those dotfiles, Mac OS X forgets that I have disabled Spotlight on the card.

Jason S
  • 7,944

2 Answers2

3

See this site for the simple answer: create a file named .metadata_never_index in the root of the volume (once it is mounted).

Henno
  • 669
  • 4
  • 5
1

As far as I know, there is no easy way to do this. But there is a utility that can prevent these files from being written called Blue Harvest.

Edit: Here is a free solution called Hidden Cleaner.

ghoppe
  • 6,558
  • 25
  • 21