How to install CLAMAV with update DB script and Scanning on CentOS?
Setting Permissions
chmod 755 /etc/cron.daily/clamav_scan |
Some frequently used options of clamscan:
–quiet
Be quiet (only print error messages).
-r, –recursive
Scan directories recursively. All the subdirectories in the given directory will be scanned.
-i, –infected
Only print infected files.
–remove[=yes/no(*)]
Remove infected files. Be careful.
–move=DIRECTORY
Move infected files into DIRECTORY. Directory must be writable for the user or unprivileged user running clamscan.
For further details please visit http://www.clamav.net