Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Rooshkins

macrumors newbie
Original poster
May 11, 2017
3
0
South Wales
Ok, I'm trying to enable some directories which are currently disabled, see terminal code below :

Indexing enabled.
/Volumes/Customer Files-1:
Indexing disabled.
/Volumes/Proofs Out:
Indexing disabled.
/Volumes/mac volume:
Indexing disabled.
Gavs-iMac:~ imac1$

I can type this code, mdutil -a -i, to show toggles like so :

mdutil: option requires an argument -- i
Usage: mdutil -pEsa -i (on|off) -d volume ...
Utility to manage Spotlight indexes.
-p Publish metadata.
-i (on|off) Turn indexing on or off.
-d Disable Spotlight activity for volume (re-enable using -i on).
-E Erase and rebuild index.
-s Print indexing status.
-a Apply command to all volumes.
-V vol Apply command to all stores on the specified volume.
-v Display verbose information.
NOTE: Run as owner for network homes, otherwise run as root.
Gavs-iMac:~ imac1$

But my question is, how do I actually execute this so the disabled volumes are enabled ?

Thanks in advance
 

Rooshkins

macrumors newbie
Original poster
May 11, 2017
3
0
South Wales
Here's the answer if anyone has the same problems :

In terminal type in : sudo mdutil -a -i on
It'll prompt you for your password and then enable indexing on all volumes.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.