Back online 08/04/2021 | website/CMS in HEAVY development | content revival from old DB in progress

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 !

0