clamscan is an Open Source antivirus available for Linux. It is especially suited for servers, and is used in many e-mail setups. However, it is also useful for file servers where files are stored from multiple workstations of all types.
- Scan all files in a subdirectory tree for viruses
clamscan --recursive --infected /home/samba
- Same as above, but move infected files to someplace else
clamscan --recursive --infected --move=/home/virusFiles
Tags: clamscan, samba