Skip to content

Instantly share code, notes, and snippets.

@danhalliday
Last active April 19, 2018 15:13
Show Gist options
  • Save danhalliday/5240aa8c30b8b04c03f249b874a56924 to your computer and use it in GitHub Desktop.
Save danhalliday/5240aa8c30b8b04c03f249b874a56924 to your computer and use it in GitHub Desktop.
Quick way to check if any obvious junk has made it onto your system
#!/usr/bin/env sh
# Add your favourite suspect folders. Run every now and then.
folders=(
/Library/Frameworks
/Library/LaunchAgents
/Library/LaunchDaemons
/Library/Security/SecurityAgentPlugins
~/Library/LaunchAgents
)
for folder in ${folders[@]}; do
echo ""
echo $folder:
echo ""
ls -1 $folder
echo ""
done
alias paranoia="~/Scripts/paranoia.sh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment