Disable Spotlight on External Drives

From LogiWiki - Your Wiki for all things Apple MacBook and iPhone related
Jump to navigationJump to search

To have mds ignore all external volumes including network volumes run the following command:

$ sudo defaults write /Library/Preferences/com.apple.SpotlightServer.plist ExternalVolumesIgnore -bool True

To be able to re-enable indexing for certain external volumes, run this command instead:

$ sudo defaults write /Library/Preferences/com.apple.SpotlightServer.plist ExternalVolumesDefaultOff -bool True


Full article here