logoalt Hacker News

hu3yesterday at 10:31 PM1 replyview on HN

And I can tell Windows search to not index some directories. Like node_module with a million small files I don't want to search in anyway except with grep.

Perhaps if macs let you configure Spotlight to ignore some directories you could tell it to ignore the entire disk? Which would disable it in practical terms.


Replies

thisislife2today at 12:07 AM

Not a fan of Spotlight here too. But, you certainly can instruct Spotlight to ignore some directory or drive through System Preferences > Spotlight and selecting the Privacy tab in it which allows you to add the directory or drive that you want Spotlight to not index.