/spotlight-never-index

Exclude some folders from Spotlight.app

Primary LanguageJavaScriptMIT LicenseMIT

Spotlight Never Index

🔦🙅 Exclude some folders from Spotlight.app

Installation

npm install spotlight-never-index --global 

Usage

spotlight-never-index <directory> <pattern>

Examples

Never index a directory

spotlight-never-index ~/Projects

This will tell Spotlight to never index the ~/Projects directory.

Never index matching directory

spotlight-never-index ~/Projects 'node_modules|bower_components'

This will tell Spotlight to never index any node_modules or bower_components directory inside ~/Projects.

License

MIT – See LICENSE file.