System Grab Bag

View all TLDR pages from Mac OS X (or from all pages)

mdutil

Manage the metadata stores used by Spotlight for indexing. More information: https://ss64.com/osx/mdutil.html.
  • Show the indexing status of the startup volume:
    mdutil -s {{/}}
  • Turn on/off the Spotlight indexing for a given volume:
    mdutil -i {{on|off}} {{path/to/volume}}
  • Turn on/off indexing for all volumes:
    mdutil -a -i {{on|off}}
  • Erase the metadata stores and restart the indexing process:
    mdutil -E {{path/to/volume}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.