diff --git a/README.md b/README.md index 94ebd75..43a057a 100644 --- a/README.md +++ b/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) - [Safe Mode Boot](#safe-mode-boot) - [Software Installation](#software-installation) + - [Spotlight](#spotlight) ## 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 Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.