Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UUID



diskutil info /mount/point | grep UUID

'diskutil info ...' works. Well hidden! #$%&@! Thanks.

Well, it's still well hidden . . .

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"

I mucked around for a while and found that I can get the disk identifier, not the UUID, with:

return do shell script "diskutil list"
--> disk0s2

and then tried various versions of:

return do shell script "diskutil info disk0s2"

The best I can get is 20 lines of info. which do include the UUID. DO I need to use BBEdit to do a search of the resulting text or is there some (still well hidden) way to actually get just the UUID?

Thank you!

(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, and if you do figure out the answer, please do not continue to keep it a secret! Some of us are trying to learn what we can from this deeply appreciated list. If I need some kind of secret handshake, do please let me know! ;-) )

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.