Skip to content

Instantly share code, notes, and snippets.

@clozed2u
Last active Oct 9, 2016
Embed
What would you like to do?
Fix spotlight not index new application
sudo mdutil -a -i off
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
sudo mdutil -a -i on
# Or rebuild all index on disk
sudo mdutil -E -i on /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment