Re: Mount Hard Drive Script help needed
Re: Mount Hard Drive Script help needed
- Subject: Re: Mount Hard Drive Script help needed
- From: Steve Mills <email@hidden>
- Date: Fri, 08 Sep 2017 21:25:53 +0000 (GMT)
On Sep 08, 2017, at 04:21 PM, "email@hidden" <email@hidden> wrote:
However - I just updated to Sierra (10.12.6) and now in addition to the main Volumes it is also mounting all the EFI volumes also. This is something I do not want.
Question: Is there a way to update the script so that it will NOT mount EFI Volumes and just the Main volumes?
repeat with myitem in actiondisks
try
do shell script "diskutil mountDisk /dev/" & myitem
end try
end repeat
end if
Why can't you just check the name?
if myitem does not contain "EFI" then
Sent from iCloud's ridiculous UI, so, sorry about the formatting
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden