Spotlight indexing enabling

Discussion in 'Mac OS X Lion (10.7)' started by Rooshkins, May 12, 2017.

  1. Rooshkins macrumors newbie

    Joined:
    May 11, 2017
    Location:
    South Wales
    #1
    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
     
  2. Rooshkins thread starter macrumors newbie

    Joined:
    May 11, 2017
    Location:
    South Wales
    #2
    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.
     

Share This Page