1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 12:42:07 +02:00
tldr/pages/osx/mdutil.md
2021-11-03 14:09:46 -03:00

461 B

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}}