How can I filter out unwanted search results in Alfred (ie node_modules folder, caches)

alfredfindersearchspotlight

Been a user of Alfred for a long time, however whenever I search anything I get a lot of FUD results due to alfred also indexing all my web project node_modules directories.

Is there any way to path-match and exclude all results from within a /node_modules/ directory? This would greatly improve the utility of the search.

Best Answer

Go to Preferences -> Spotlight -> Privacy (TAB) Then add the folders you want to exclude to that list.