Skip to content

[小技巧] mac上的spotlight index的控制

Tags:

Problem Definition

  • turn on/off to control cpu usage
  • allow alfred to work

Solution

# show status on all mountpoints
sudo mdutil -sa

# turn on -a all
# -i on/off 来进行控制
sudo mdutil -a -i on
# 只对 / turn on
sudo mdutil -i on /

# turn off
sudo mdutil -a -i off

# -d  Disables Spotlight searches on the provided volume.

Leave a Reply

Your email address will not be published.