2018-10-17 16:25:06 +01:00
|
|
|
# mdutil
|
|
|
|
|
|
|
|
> Manage the metadata stores used by Spotlight for indexing.
|
2021-11-03 17:09:46 +00:00
|
|
|
> More information: <https://ss64.com/osx/mdutil.html>.
|
2018-10-17 16:25:06 +01:00
|
|
|
|
|
|
|
- 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}}`
|
|
|
|
|
2021-01-04 18:53:11 +00:00
|
|
|
- Turn on/off indexing for all volumes:
|
|
|
|
|
|
|
|
`mdutil -a -i {{on|off}}`
|
|
|
|
|
2018-10-17 16:25:06 +01:00
|
|
|
- Erase the metadata stores and restart the indexing process:
|
|
|
|
|
|
|
|
`mdutil -E {{path/to/volume}}`
|