mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 21:02:08 +02:00
16 lines
375 B
Markdown
16 lines
375 B
Markdown
# mdutil
|
|
|
|
> 管理 Spotlight(聚焦搜索)用于搜索的索引数据。
|
|
> 更多信息:<https://ss64.com/osx/mdutil.html>.
|
|
|
|
- 显示指定卷('/')的索引状态:
|
|
|
|
`mdutil -s {{/}}`
|
|
|
|
- 打开 / 关闭给定卷的 Spotlight 索引:
|
|
|
|
`mdutil -i {{on|off}} {{指定卷文件夹}}`
|
|
|
|
- 清除索引数据并重新建立索引:
|
|
|
|
`mdutil -E {{指定卷文件夹}}`
|