mdutil(1) General Commands Manual mdutil(1)

mdutilmanage the metadata stores used by Spotlight

mdutil [-pEsav] [-i on | off] mountPoint ...

The mdutil command is useful for managing the metadata stores for mounted volumes.

The following options are available:

on | off
Sets the indexing status for the provided volumes to on or off. Note that indexing may be delayed due to low disk space or other conditions.
Disables Spotlight searches on the provided volume.
This flag will cause each local store for the volumes indicated to be erased. The stores will be rebuilt if appropriate.
Display the indexing status of the listed volumes.
Apply command to all stores on all volumes.
Resolve files from file id with an optional volume path or device id.
Spotlight caches indexes of some network devices locally. This option requests that a local caches be flushed to the appropriate network device.
Apply command to all stores on the specified volume.
Print verbose information when available.
Ask the server to reimport files for UTIs claimed by the listed plugin.
List the directory contents of the Spotlight index on the specified volume.
Dump the VolumeConfig.plist for the specified volume.
Remove the Spotlight index directory on the specified volume. This does not disable indexing. Spotlight will reevaluate volume when it is unmounted and remounted, the machine is rebooted, or an explicit index command such as 'mdutil -i' or 'mdutil -E' run for the volume.

mdfind(1), mds(8), mdimport(1)

September 1, 2005 Mac OS X