How to disable Mac OS X spotlight search in snow leopard 10.6.x

We might some time require to disable the spotlight(search indexing) for some time in mac os x operating system. This can be done as below

sudo mdiutil -a -i off

The above command will stop indexing on all the volumes mounted in mac os x.

To enable back again, run

sudo mdiutil -a -i on

Popular posts from this blog

How to disable USB ports on Mac OS X Mavericks, Yosemite or El Capitan ?