Instantly share code, notes, and snippets.
#Disable index
$sudo mdutil -i off /
#Enable index
$sudo mdutil -i on /