How do I tell Spotlight not to index a particular folder?

I don't want to turn Spotlight off completely, I just want to turn it off for one particular folder in my homedir called 'nospotlight`

Another question talks about how to disable Spotlight completely; but I want to keep it running, just not indexing one particular folder.


You can add that folder to the Spotlight privacy list.

  1. Open System Preferences and click Spotlight.
  2. Click Privacy.
  3. Drag folders or disks to add them to the Privacy list, or click the Add (+) button to browse for an item.
  4. To remove an item, select it and click Delete (-).