-
-
Save varenc/4be11dcf11aa26bc71fcae28f24b187d to your computer and use it in GitHub Desktop.
Revisions
-
dmattera revised this gist
Aug 11, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,14 @@ This list was auto-generated on macOS 10.15 (Catalina) using a script that did the following: 1. grabbed the name of all the `.plist` files located in the 5 folders used by `launchctl`: - `~/Library/LaunchAgents` Per-user agents provided by the user. - `/Library/LaunchAgents` Per-user agents provided by the administrator. - `/Library/LaunchDaemons` System wide daemons provided by the administrator. - `/System/Library/LaunchAgents` OS X Per-user agents. - `/System/Library/LaunchDaemons` OS X System wide daemons. 2. tried to automatically find a man page in `/usr/share/man/man8` using couple of string search methods based on the Agent/Daemon's `.plist` filename 3. This was the only directory I could find where man pages were located for any launchctl services. If you know of any others, please let me know and I'll add them to the script. 4. if a matching man page file was found, it extracted the content from the file in a somewhat-formatted fashion -
dmattera revised this gist
Aug 11, 2021 . 1 changed file with 2 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,13 +8,9 @@ This list was auto-generated on macOS 10.15 (Catalina) using a script that did t - `/System/Library/LaunchAgents` OS X Per-user agents. - `/System/Library/LaunchDaemons` OS X System wide daemons. 2. tried to automatically find a man page in `/usr/share/man/man8` using couple of string search methods based on the Agent/Daemon's plist filename 3. This was the only directory I could find where man pages were located for any launchctl services. If you know of any others, please let me know and I'll add them to the script. 4. if a matching man page file was found, it extracted the content from the file in a somewhat-formatted fashion |name|path|has_man_page|man_page_path|man_page| -
dmattera created this gist
Aug 11, 2021 .There are no files selected for viewing