clam antivirus

por | 28 julio, 2008

Examples

(0) Scan a single file:
clamscan file

(1) Scan a current working directory:
clamscan

(2) Scan all files (and subdirectories) in /home:
clamscan -r /home

(3) Load database from a file and limit disk usage to 50 MB:
clamscan -d /tmp/newclamdb –max-space=50m -r /tmp

(4) Scan a data stream:
cat testfile | clamscan

(5) Scan a mail spool directory:
clamscan -r /var/spool/mail