/ Published in: Bash
![](/img/icon_sav.png?v3)
how to enable or disable spotlight disc indexing from the terminal. all the following work on root "/". to specify another volume, put its path at end of the command
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// disable spotlight indexing sudo mdutil -i off // enable spotlight indexing sudo mdutil -i on // delete existing spotlight indexes sudo mdutil -E // some other options: -s = display status, -v = verbose
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)