MacOSX: Blocking Spotlight Indexing: Better?

Uncategorized Add comments

I previously wrote that to block Spotlight indexing, one should create a basic file on the root of the Volume such as:

$ touch /Volumes/ALLANC_16G1/.metadata_never_index

I’ve recently found that the following should also work:
$ mdutil -i off /Volumes/ALLANC_16G1
which can be checked using:
$ mdutil -sv /Volumes/ALLANC_16G1
/Volumes/ALLANC_16G1:
Indexing disabled.

Needs verification, and it’s only useful when you have a MacOSX at your disposal. I used the first trick inside MySQLFS (around v0.4.0) but will look further into the second. This is one of those “making a note for you and for myself” kind of posts)

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in