Skip to content

Instantly share code, notes, and snippets.

@un33k
Created August 22, 2011 02:47
Show Gist options
  • Save un33k/1161554 to your computer and use it in GitHub Desktop.
Save un33k/1161554 to your computer and use it in GitHub Desktop.
Reset spotlight on osx and Start indexing again
To reset the data cache on your Mac’s hard drive,
sudo mdutil -E /
To force Spotlight to immediately start re-indexing your hard drive (this might take a few hours and is probably best left to run overnight), enter this command:
sudo mdutil -i on /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment