Last active
December 29, 2015 01:29
-
-
Save hkurosawa/7593622 to your computer and use it in GitHub Desktop.
# searches launchd.plist files from launchd directories
This file contains 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 characters
#!/bin/bash | |
# searches launchd.plist files from launchd directories | |
grep `launchctl list | grep $1 | cut -f 3` ~/Library/LaunchAgents/* /Library/LaunchAgents/* /Library/LaunchDaemons/* /System/Library/LaunchAgents/* /System/Library/LaunchDaemons/* | cut -d ':' -f 1 | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment