James Gardner: Home > Blog > 2007 > Debian Virus Scanning - ClamAV

Debian Virus Scanning - ClamAV

Posted:2007-07-16 23:06
Tags:Debian

If you want to scan a drive for viruses you need ClamAV:

sudo apt-get install clamav

Configure your mirror by updating /etc/clamav/freshclam.conf like this:

# DatabaseMirror db.local.clamav.net
DatabaseMirror db.au.clamav.net

(I've chosen au instead of uk because the UK mirror seems to be down)

Then update the virus definitions:

sudo freshclam

Recursively scan a directory showing only infected files:

clamscan -ri /media/usbdisk/Sync

(view source)

James Gardner: Home > Blog > 2007 > Debian Virus Scanning - ClamAV