Changes between Version 1 and Version 2 of jazz/21-06-15


Ignore:
Timestamp:
Jun 15, 2021, 10:57:50 PM (3 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/21-06-15

    v1 v2  
    11= 2021-06-15 =
    22
    3 == macOS ==
     3== macOS Spotlight ==
    44
     5* [緣起] 想要釋放出一些記憶體,其次因為預計產生大量資料,想避免 Spotlight 對大量檔案做索引 Indexing
    56* https://apple.stackexchange.com/questions/388882/how-to-disable-spotlight-and-mds-stores-on-mac-os-catalina
    67{{{
     
    1112sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
    1213}}}
     14
     15== macOS launchctl ==
     16
     17* [緣起] 如何從 `launchctl list` 結果反查 plist 位置?
     18{{{
     19jazzwang:~$ launchctl list | grep -i spot
     20-       0       com.apple.corespotlightservice
     21477     0       com.apple.corespotlightd
     22396     0       com.apple.Spotlight
     23~$ sudo launchctl procinfo 396 | grep plist
     24        path = /System/Library/LaunchAgents/com.apple.Spotlight.plist
     25}}}