0

I need to force Spotlight to index only two volumes and to never try to index future inserted or attached volumes again, including networked volumes. In this case I want to index / and /Volumes/Users and to exclude every other volume no matter what from now and forever.

How can I do this?

8
  • I'm trying to pick apart the three different questions here. 1. Disable all attached indexing. 2. Disable network indexing (and I'm curious how you see that happening - might need a detailed Q on that alone). 3. Enable two when attach is disabled. Why wouldn't each of these be a little more detailed question and when you get answers to each - maybe ask how to harmonize the individual solutions?
    – bmike
    Feb 8 '20 at 18:10
  • Is the network NFS? apple.stackexchange.com/a/43653/5472
    – bmike
    Feb 8 '20 at 18:11
  • Opting out on local drives? apple.stackexchange.com/questions/3319/…
    – bmike
    Feb 8 '20 at 18:12
  • In this case I have about 10 volumes attached to my computer. 6 are local, 4 are SMB auto-attached at boot. I only want 2 of the volumes ever to be indexed by Spotlight: / and /Volumes/Users. I attach new customer volumes every couple days and don't want Spotlight to start ripping through them, etc. Same with SMB connected volumes where also new ones pop up at least once a week.
    – ylluminate
    Feb 8 '20 at 18:22
  • Has your server admin team evaluated deploying /Volumes/whatever/.metadata_never_index files and providing indexing services centrally rather than having every client see the files as local?
    – bmike
    Feb 8 '20 at 18:27

You must log in to answer this question.

Browse other questions tagged .