Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rmariuzzo/spotlight-never-index

Exclude some folders from Spotlight.app
https://github.com/rmariuzzo/spotlight-never-index

nodejs spotlight

Last synced: 17 days ago
JSON representation

Exclude some folders from Spotlight.app

Awesome Lists containing this project

README

        


Spotlight Never Index


🔦🙅 Exclude some folders from Spotlight.app

## Installation

```shell
npm install spotlight-never-index --global
```

## Usage

```shell
spotlight-never-index
```

### Examples

#### Never index a directory

```shell
spotlight-never-index ~/Projects
```

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

#### Never index matching directory

```shell
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](LICENSE) file.