Disable Spotlight on External Drives
Jump to navigation
Jump 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