Created
July 5, 2012 20:02
-
-
Save williamjacksn/3056105 to your computer and use it in GitHub Desktop.
Uninstall ClamXav
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 | |
crontab -l | grep -v "no crontab for" | grep -v "freshclam" | grep -v "clamscan" > /tmp/crontmp | |
crontab /tmp/crontmp | |
rm /tmp/crontmp | |
find /Users ( -name "uk.co.markallan.clamxav.clamscan.plist" -or -name "uk.co.markallan.clamxav.freshclam.plist" ) -execdir launchctl unload -w "{}" \; | |
find /Users -name "uk.co.markallan.clamxav.*" -delete | |
rm -r /Library/Receipts/clamav* | |
rm -r /Library/Receipts/ClamAV* | |
rm -r /usr/local/clamXav | |
rm -r /Applications/ClamXav.app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Another easy way to uninstall ClamXav - https://nektony.com/how-to/uninstall-clamxav-on-mac