2021-06-15
macOS Spotlight
- [緣起] 想要釋放出一些記憶體,其次因為預計產生大量資料,想避免 Spotlight 對大量檔案做索引 Indexing
- https://apple.stackexchange.com/questions/388882/how-to-disable-spotlight-and-mds-stores-on-mac-os-catalina
sudo mdutil -a -i off
- https://www.technipages.com/macos-sierra-enable-disable-spotlight
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
- 副作用:後來發現影響是 Finder 沒辦法正常找到檔案,Spotlight 快速鍵也找不到 Application 了
- 檢測工具
macOS launchctl
- [緣起] 如何從 launchctl list 結果反查 plist 位置?
jazzwang:~$ launchctl list | grep -i spot - 0 com.apple.corespotlightservice 477 0 com.apple.corespotlightd 396 0 com.apple.Spotlight ~$ sudo launchctl procinfo 396 | grep plist path = /System/Library/LaunchAgents/com.apple.Spotlight.plist
Last modified 4 years ago
Last modified on Jun 20, 2021, 10:16:12 PM