Is there a way to globally ignore folders with a certain name (say
I know I can do it manually for each instance but I was wondering if its possible to just let spotlight know not to index these folders?
node_modules, for example, typically has thousands of files that I don't want to search and it ends up slowing down spotlight.
I've looked around but I can only find answers that suggest manually adding folders in spotlight privacy list. Does someone have a better, glob way to it?