Re: UUID
Re: UUID
- Subject: Re: UUID
- From: "John C. Welch" <email@hidden>
- Date: Thu, 31 Jan 2008 13:36:16 -0600
- Thread-topic: UUID
On 01/31/2008 13:16 PM, "Skeeve" <email@hidden> wrote:
> Richard Fairbanks wrote:
>> After guessing that 'diskutil info ...' is a "do script" command, the
>> following does NOT return the UUID, nor does any convolution thereof:
>>
>> return do shell script "diskutil info /mount/point | grep UUID"
> Could it be that you don't know what a mountpoint is? Of course I don't
> know what your mount ponits are. One of mine is for example /Volumes/SKEEVE
>
> So I would have to enter (in shell)
>
> diskutil info /Volumes/SKEEVE
>
> this returns the 20 or so lines.
>
> If I append
>
> | grep UUID
>
> I just get the UUID line.
>
> But tbh: I don't think everyone needs all these detailed information. At
> least not Luther, I guess.
Similarly, I used:
set theTest to do shell script "/usr/sbin/diskutil info disk0s2|grep UUID"
And got: Volume UUID: 48787315-5E05-3296-AE1E-E36318418E0C
As my result. So it is a way to get that info.
>
>
>> (I appreciate that we are all very busy, but for that same reason
>> there are some of us who would be grateful if direct questions could
>> be given direct answers, not just clues,
> It was a direct answer plus a clue. But not everyone was able to use the
> answer. If you don't know what a mount point is, I can't help. I can't
> explain every single detail. After all: You can always ask for more
> information.
No worries dude. You didn't do anything wrong, unless you count "Not reading
someone's mind and giving them every possible permutation of what they MIGHT
need spelled out in small words" as "doing something wrong".
--
We¹ve heard that a million monkeys at a million keyboards could produce the
Complete Works of Shakespeare; now, thanks to the Internet, we know this is
not true.
Robert Wilensky
_______________________________________________
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
References: | |
| >Re: UUID (From: Skeeve <email@hidden>) |