you are here: codestackercodes [RSS] → tag spotlight [RSS]

spotlight commands

disable spotlight
sudo mdutil -i off 

clean spotlight index
sudo mdutil -E 

enable spotlight
sudo mdutil -i on 

disable spotlight on a fat32 external drive

cd /Volumes/your_drive
touch .metadata_never_index
Displaying all 2 Code