Home Blog CV Projects Patterns Notes Book Colophon Search

Debian Virus Scanning - ClamAV

16 Jul, 2007

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

Copyright James Gardner 1996-2020 All Rights Reserved. Admin.