Re: UUID of a volume
Re: UUID of a volume
- Subject: Re: UUID of a volume
- From: Christopher Stone <email@hidden>
- Date: Sun, 16 Mar 2014 16:53:12 -0500
Is it possible to do this with pure AppleScript?
______________________________________________________________________
Hey J,
Nyet. But considerable simplification is possible:
------------------------------------------------------------------------------------------- tell application "Finder" to set diskList to name of disks whose name is not in {"home", "net"} set diskName to choose from list diskList default items (item 1 of diskList) if diskName ≠ false then set volUUID to do shell script "diskutil info " & diskName & " | awk '/UUID/ { print $NF }'" end if -------------------------------------------------------------------------------------------
-- Best Regards, Chris
|
_______________________________________________
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