Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the "Sidebar 1" sidebar. Defaulting to "sidebar-1". Manually set the id to "sidebar-1" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /usr/share/wordpress/wp-includes/functions.php on line 4148 Tech Notes » Blog Archive » MacOSX: Blocking Spotlight Indexing: Better?

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