Applescript if exists unmount
Trying to run an AppleScript that if the volume exists unmount it.
I am successful in unmounting it, but can't figure how to just unmount it IF IT EXISTS
This unmounts it
do shell script "diskutil unmount 43123A60-7F49-4200-A18F-C80BA166E9RE"
FWIW the name of the volume is EXTRA
Thanks for tour help
iMac (2017 – 2020)