Version 2 (modified by jazz, 4 years ago) (diff) |
---|
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
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