Hi all,

I'm searching bash scripts using clamav in order to scan my home, or USB
key,... Has someone special script to share ?

Thx in advance,
Bye
Guillaume


PS Here is mine actual script, which is quite simple :

#!/bin/sh

clamdscan="/usr/bin/clamdscan"

[ -x $clamdscan ] || exit 0

# See ionice(1)
if [ -x /usr/bin/ionice ] &&
    /usr/bin/ionice -c3 true 2>/dev/null; then
    IONICE="/usr/bin/ionice -c3"
fi

$IONICE $clamdscan -i --no-summary /home

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to