Turn off Spotlight indexing

by Antoine - categories : OS Apple

Spotlight indexing is a real ressources hog. If you do not use it as an application launcher as some people do, you may want to turn it off. You can do it with a single command line. This method works on OS X 10.6 Snow Leopard and above.

Turn off Spotlight indexing

Method 1 : prevent mds (indexing process) from launching.

$ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

Method 2 : keep mds running but turn indexation off.

$ sudo mdutil -a -i off

Turn on Spotlight indexing

Method 1 : bring mds back.

$ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

Method 2 : activate mds indexation.

$ sudo mdutil -a -i on

Be the first to comment 🡮