Last active
August 29, 2017 13:31
-
-
Save acodega/0a929ef71dcc283acd8fa405851444d4 to your computer and use it in GitHub Desktop.
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 | |
# run elevated (with sudo) | |
rm -f /.metadata_never_index | |
mdutil -i off / | |
rm -rf /.Spotlight* | |
mdutil -i on / | |
mdutil -E / | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment