Spotlight 或 Alfred 无法搜索应用

2020-11-01 18:14 JavaScript与编程艺术

Mac 电脑在运行很长一段时间后常常会因为磁盘过满的原因,导致 Spotlight 无法搜索 /Applications 目录下的应用,同时导致 Alfred 也无法搜索,这时需要给 Spotlight 的搜索 rebuild indexing,执行以下命令即可。


sudo mdutil -a -i on


来自『Can't Find Mac Apps in Spotlight? Here's the Fix』文章内的 Youtube 视频『How to re-index and fix Spotlight search issues on Mac OS X』@Mark Ruddock 的评论:


Hey, anyone still having problems, got to your TERMINAL copy and paste the following:

Press enter then enter your password.

sudo mdutil -a -i on 

Your mac should now reindex itself.


输入密码执行完毕后,搜索会出现如下图所示正在 indexing 的进度条:


图片


为更好的阅读体验请点击『阅读原文』前往语雀。

参考文章

  1. Can't Find Mac Apps in Spotlight? Here's the Fix - https://www.makeuseof.com/tag/cant-find-mac-apps-spotlight-fix/

  2. YouTube 视频『How to re-index and fix Spotlight search issues on Mac OS X 』https://www.youtube.com/watch?v=aH2e-9tvefE&feature=emb_logo

  3. 语雀《Spotlight 或 Alfred 无法搜索应用》https://www.yuque.com/docs/share/ddbe3415-effe-44c8-947f-e1465d899c01?#

  4. 头图来自 https://support.apple.com/en-gb/HT204014

本文章转载自公众号:gh_05cb55fc7ff5

首页 - JavaScript 相关的更多文章: