psychonaut.org – free your mind, and your ass will follow

Turn off spotlight/indexing in Leopard/Snow Leopard

06.03.2010 (12:54 pm) – Filed under: tech

Only fitting that my first post should be about a technical issue… anyway:

Courtesy WallyBear:

Do not change system file permissions! To disable Spotlight in Leopard, just do the following:

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

(first line stops it, second line tells the system to disable it permanently)

To reenable it:

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

(same meaning but reenabling instead of disabling)
That’s all