Changes between Version 1 and Version 2 of jazz/21-06-15
- Timestamp:
- Jun 15, 2021, 10:57:50 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/21-06-15
v1 v2 1 1 = 2021-06-15 = 2 2 3 == macOS ==3 == macOS Spotlight == 4 4 5 * [緣起] 想要釋放出一些記憶體,其次因為預計產生大量資料,想避免 Spotlight 對大量檔案做索引 Indexing 5 6 * https://apple.stackexchange.com/questions/388882/how-to-disable-spotlight-and-mds-stores-on-mac-os-catalina 6 7 {{{ … … 11 12 sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist 12 13 }}} 14 15 == macOS launchctl == 16 17 * [緣起] 如何從 `launchctl list` 結果反查 plist 位置? 18 {{{ 19 jazzwang:~$ launchctl list | grep -i spot 20 - 0 com.apple.corespotlightservice 21 477 0 com.apple.corespotlightd 22 396 0 com.apple.Spotlight 23 ~$ sudo launchctl procinfo 396 | grep plist 24 path = /System/Library/LaunchAgents/com.apple.Spotlight.plist 25 }}}