#!/bin/bash
#
# A script to serve /srv/backup-data

echo "Scan of /srv/backup-data started at `date --rfc-3339=s`" >> /var/log/clamav/clamdscan.log
/usr/bin/clamdscan.log --quiet -l /var/log/clamav/clamdscan.log --move /srv/infected /srv/backup-data

Add shell script to scan /srv/backup-data
Add shell script to scan /srv/backup-data

This commit adds a shell script to scan the contents of /srv/backup-data, log
output to a specified .log file, and move infected data to /srv/infected
