Skip to content

Instantly share code, notes, and snippets.

@theodric
Created December 6, 2023 19:17
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 theodric/cd53e8dea9b30b238aca7a0e942b4c94 to your computer and use it in GitHub Desktop.
Save theodric/cd53e8dea9b30b238aca7a0e942b4c94 to your computer and use it in GitHub Desktop.
macOS Spotlight fuckup - not finding applications in /System/Applications, etc.
Run the following in a terminal:
sudo mdutil -Ea
sudo mdutil -ai off
sudo mdutil -ai on
Alternatively, use Automator to create an Application with a Run Shell Script Action containing the above and put it somewhere it's easy to access.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment