• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UUID
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UUID


  • Subject: Re: UUID
  • From: Richard Fairbanks <email@hidden>
  • Date: Thu, 31 Jan 2008 12:04:46 -0700

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:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: UUID
      • From: "Mark J. Reed" <email@hidden>
    • Re: UUID
      • From: Skeeve <email@hidden>
  • Prev by Date: Failure to duplicate file
  • Next by Date: Re: UUID
  • Previous by thread: Re: UUID
  • Next by thread: Re: UUID
  • Index(es):
    • Date
    • Thread