Skip to content

Instantly share code, notes, and snippets.

Last active July 26, 2017 20:02
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ismnoiet/c5feef39bd7da0955d950d3da14c91d5 to your computer and use it in GitHub Desktop.
Refresh spotlight index to list the newly installed applications
# pboblem : some applications can't be found using spotlight search box.
# solution : reload the metadata plist
# source :
# Turn off spotlight
sudo mdutil -a -i off
# Unload it :
sudo launchctl unload -w /System/Library/LaunchDaemons/
# Load it :
sudo launchctl load -w /System/Library/LaunchDaemons/
# 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