Mac Notes

How can I disable Spotlight indexing for all external drives? (In my case, my secondary drive)

Open Terminal
cd /Volumes/Secondary/
sudo touch .metadata_never_index

And now spotlight excludes this entire drive 🙂

to stop the annoying, do you want me to resend this form?
defaults write com.apple.Safari DebugConfirmTossingUnsubmittedFormText NO