Add Spotlight category and entries
This commit is contained in:
parent
432a697e8e
commit
29eac6d7e4
23
README.md
23
README.md
@ -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>.
|
||||||
|
Loading…
Reference in New Issue
Block a user