Where does Spotlight keeps the excluded folders

2018-03-20 16:14:57

Does Spotlight keeps the privacy excluded folders in some special configuration file ?

Those folder are configured under

system preferences -> spotlight -> privacy

I believe it should be somewhere under /Library/Preferences/ ..

This data is persistent so it must be kept in file, but which one, perhaps it's not purely textual file (xml plist format) but binary one ?

EDIT: I've found out that the file which keeps the file reside in

/.Spotlight-V100/VolumeConfiguration.plist in the Exclusions array :





However, if I add new exclusion to the list, it doesn't appear on the UI.