Created
December 6, 2015 15:25
-
-
Save kevinchappell/f019ede600db39f0ff3e to your computer and use it in GitHub Desktop.
Purge Quarantined Viruses
This file contains hidden or 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/sh | |
for i in `awk '!/nobody/{print $2 | "sort | uniq" }' /etc/userdomains | sort | uniq`; do | |
QUARANTINE="/home/${i}/quarantine/" | |
rm -rf $QUARANTINE &>/dev/null | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment