mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 23:00:51 +00:00
Update cheatsheets
This commit is contained in:
25
osx/mdutil
Normal file
25
osx/mdutil
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, osx]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mdutil
|
||||
|
||||
> Manage the metadata stores used by Spotlight for indexing.
|
||||
> More information: <https://keith.github.io/xcode-man-pages/mdutil.1.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}}`
|
||||
Reference in New Issue
Block a user