Skip to content

Instantly share code, notes, and snippets.

@kossoy
Created July 12, 2012 06:41
Show Gist options
  • Save kossoy/3096312 to your computer and use it in GitHub Desktop.
Save kossoy/3096312 to your computer and use it in GitHub Desktop.
Launchers
#!/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