Here’s how you can exclude specific directories from showing up in MacOS Spotlight for increased privacy.