blob: ccf5b0df0750debf01f38e29bb582691f1c17578 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
MOUNT_PATH='/mnt/test'
mkdir -p "$MOUNT_PATH"
while read name
do
mount -oloop,ro,noload "$name" "$MOUNT_PATH"
python ./scanner.py -f "$MOUNT_PATH" -t 1
umount "$MOUNT_PATH"
if [ $? -neq 0 ]
then
exit 1
fi
done
|