Created
May 27, 2015 10:39
-
-
Save rtfpessoa/8d7ee9b4d9fc95a0e7fb to your computer and use it in GitHub Desktop.
Fix OSx Spotlight
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Fix Spotlight | |
# | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist | |
sudo rm -rf /.Spotlight-V100 | |
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment