Return to Snippet

Revision: 15242
at June 29, 2009 03:48 by stiobhart


Initial Code
// 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

Initial URL

                                

Initial Description
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

Initial Title
OSX - enable disable spotlight indexing

Initial Tags
osx, terminal

Initial Language
Bash