Skip to content

Instantly share code, notes, and snippets.

@publicarray
Last active August 5, 2017 08:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save publicarray/40e8b8c6052b781e4878e400c5402029 to your computer and use it in GitHub Desktop.
Save publicarray/40e8b8c6052b781e4878e400c5402029 to your computer and use it in GitHub Desktop.
Fix Spotlight

restart the indexing service

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

status

sudo mdutil -s -a -v

stop/start indexing

sudo mdutil -i off -v /
sudo mdutil -i on -v /

reindex

sudo mdutil -E -v /

create a system report

sudo mddiagnose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment