Categories
MAC OS X

MAC OS X re index spotlight search

It is really annoying when spotlight does not return the right search results. To perform a re indexing execute following commands in terminal as root.
sudo -s
mdutil -a -i off
launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
mdutil -a -i on

Leave a Reply

Your email address will not be published. Required fields are marked *

*