Last active
April 19, 2018 15:13
-
-
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
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 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 |
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
alias paranoia="~/Scripts/paranoia.sh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment