Created
July 12, 2012 06:41
-
-
Save kossoy/3096312 to your computer and use it in GitHub Desktop.
Launchers
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
#!/usr/bin/env bash | |
# ~/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 Per-user agents provided by Mac OS X. | |
# /System/Library/LaunchDaemons System-wide daemons provided by Mac OS X. | |
rm -rf /tmp/launchers.tmp.txt | |
echo "~/Library/LaunchAgents" >> /tmp/launchers.tmp.txt | |
ls ~/Library/LaunchAgents | grep -v apple >> /tmp/launchers.tmp.txt | |
echo " " >> /tmp/launchers.tmp.txt | |
echo "/Library/LaunchDaemons" >> /tmp/launchers.tmp.txt | |
ls /Library/LaunchDaemons | grep -v apple >> /tmp/launchers.tmp.txt | |
echo " " >> /tmp/launchers.tmp.txt | |
echo "/System/Library/LaunchAgents" >> /tmp/launchers.tmp.txt | |
ls /System/Library/LaunchAgents | grep -v apple >> /tmp/launchers.tmp.txt | |
echo " " >> /tmp/launchers.tmp.txt | |
echo "/System/Library/LaunchDaemons" >> /tmp/launchers.tmp.txt | |
ls /System/Library/LaunchDaemons | grep -v apple >> /tmp/launchers.tmp.txt | |
echo " " >> /tmp/launchers.tmp.txt | |
echo "/Library/LaunchAgents" >> /tmp/launchers.tmp.txt | |
ls /Library/LaunchAgents | grep -v apple >> /tmp/launchers.tmp.txt | |
cat /tmp/launchers.tmp.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment