JAEN

macOS

mdutil

SafeSpotlight index control

mdutil -E /

Checks (-s) and rebuilds (-E) the Spotlight index — fixes missing results and runaway mds processes.

Examples

  • mdutil -E /Rebuild the index

Syntax

mdutil -s <vol>(状態) / mdutil -E <vol>(再構築)

Before you run it

Rebuilds cost CPU for a while.

Related commands

  • mdfindSpotlight search (CLI)
  • mdlsShow file metadata

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store