Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: judgej on February 24, 2007, 05:10:32 PM
-
Is there a way to do this?
I've just upgraded a server, and I want to force it to do a complete virus scan. Any ideas how I would go about doing that?
-- JJ
Update: I think this works, though not through the normal background process (so it won't e-mail the results to the administrator):
nohup /usr/bin/clamscan --recursive --infected --stdout --log /var/log/clamd/clamscan.log --exclude=/proc --exclude=/sys --exclude=/usr/share --exclude=/var --exclude=/var/spool/clamav/quarantine --move=/var/spool/clamav/quarantine / &
-
quick and dirty solution:
clamscan -v --remove -r /