Hi - I may not be understanding what you mean, but you can
tryprint(os.listdir("/Volumes"))If you only want the email if there's
other drives other than the HD mounted:x = len(os.listdir("/Volumes"))if
x > 2: (command to send email with listdir array...
Ah, you were thinking of regular expression notation which is even
better and would like this:if [[ $comptype =~ "Book" ]];then(You won't
want to use .* because the non-alpha characters in the result throw it
Hi - you need to spell out the variable names every time i.e.
$event.device.vendorName != "Disk" OR $event.device.vendorName != "Flash
DISK". Also, you may have to group the OR statements by putting them in