brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: Search Privacy keeps a folder out of Spotlight

Privacy
~/tips/tip-macos-spotlight-search-privacy-exclude-folder

System Settings > Spotlight > Search Privacy > Add

Stops Spotlight from showing files from a folder or disk you pick.

Some folders have no business in search results. A folder with tax scans, an old project with thousands of build files, a disk of raw video: I would rather not see those pop up while I look for an app.

Spotlight has an exclusion list for that. Open System Settings, click Spotlight in the sidebar (scroll down if you need to) and click Search Privacy in the lower right. Then click the Add button and pick a folder or a disk, or simply drag it into the list.

System Settings > Spotlight > Search Privacy > Add

For example, add ~/Documents/Archive and its files stop appearing in Spotlight. To undo it, select the item in the list and click the Remove button.

Apple adds two caveats worth knowing. If you exclude a Time Machine backup disk, Spotlight keeps indexing the backups, because Time Machine needs that and it can’t be turned off. And if you exclude certain files and folders, you may stop getting update notices for some apps; exclude the whole internal disk and you won’t hear about any updates. So I’d exclude specific folders, never the entire disk.

Keep in mind what this is. It hides files from search; it does not lock them, encrypt them or stop anyone with your login from opening them. For real protection, FileVault and a strong login password do the work.

Further reading: Prevent Spotlight searches in files on Mac

More Privacy tips sudo pihole-FTL --config misc.privacylevel 1 Settings > Apps > Mail > Privacy Protection > Protect Mail Activity Share button > Options > Location (off) Settings > Privacy & Security > Location Services > (app) > Precise Location Settings > Privacy & Security > Tracking > Allow Apps to Request to Track (off) All Privacy tips (7) All topics

Link