11 lines
254 B
Bash
Executable File
11 lines
254 B
Bash
Executable File
#!/bin/sh
|
|
if test -z "$1"
|
|
then echo "la commande est clamscan et le chemin a scanner"
|
|
else echo "le paramètre entré est \"${1}\" "
|
|
fi
|
|
|
|
sudo clamscan --infected --recursive --remove --log=/var/log/resul_clamscan_partage.txt $1
|
|
sleep 5
|
|
exit 0
|
|
|