Add Spotlight category and entries

This commit is contained in:
Marcel Bischoff 2015-10-13 20:20:04 +02:00
parent 432a697e8e
commit 29eac6d7e4

View File

@ -57,6 +57,7 @@ If you want to contribute, you are highly encouraged to do so. Please read the [
- [Root User](#root-user) - [Root User](#root-user)
- [Safe Mode Boot](#safe-mode-boot) - [Safe Mode Boot](#safe-mode-boot)
- [Software Installation](#software-installation) - [Software Installation](#software-installation)
- [Spotlight](#spotlight)
## Appearance ## Appearance
@ -583,6 +584,28 @@ installer -pkg /path/to/installer.pkg -target /
``` ```
### Spotlight
#### Disable Indexing
```bash
mdutil -i off -d /path/to/volume
```
#### Enable Indexing
```bash
mdutil -i on /path/to/volume
```
#### Erase Spotlight Index and Rebuild
```bash
mdutil -E /path/to/volume
```
#### Search via Spotlight
```bash
mdfind -name 'searchterm'
```
## License ## License
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>. <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.