Last active
July 26, 2017 20:02
-
-
Save ismnoiet/c5feef39bd7da0955d950d3da14c91d5 to your computer and use it in GitHub Desktop.
Refresh spotlight index to list the newly installed applications
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pboblem : some applications can't be found using spotlight search box. | |
# solution : reload the metadata plist | |
# source : http://apple.stackexchange.com/questions/62715/applications-dont-show-up-in-spotlight | |
# Turn off spotlight | |
sudo mdutil -a -i off | |
# Unload it : | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist | |
# Load it : | |
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist | |
# Turn spotlight on again: | |
sudo mdutil -a -i on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment