Home Forums Software InstaDMG Off Topic – PlistBuddy in a pkg

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #381153
    mgb123
    Participant

    Does anyone have any good primers on how to use Plist Buddy in a pkg as a part of a script?

    #381154
    Allister Banks
    Participant

    full path – /usr/libexec/PlistBuddy

    Allister

    #381155
    mgb123
    Participant

    That much I’d figured out – but as far as how to actually use PlistBuddy – I’m suuuuuper ignorant. (Like, silly sad puppy dog eyes ignorant.) I’ve been searching for tutorials, but I’m coming up a little dry in terms of something I can actually wrap my head around…

    #381156
    Allister Banks
    Participant

    I feel your pain, sorry, not many available. however, examples here:
    http://osxdeployment.com/wiki/Firstboot_Postflight_Commands
    -c says non-interactive mode
    Print is good for echoing to standard out(plutil is even nicer)

    Allister

    #381160
    Goldberg
    Participant

    You can also man PlistBuddy to learn about all it’s options and switches

    #381167
    freepms
    Participant

    [QUOTE][u]Quote by: Goldberg[/u][p]You can also man PlistBuddy to learn about all it’s options and switches [/p][/QUOTE]

    On my system there is no manpage for plistbuddy. But /usr/libexec/plistbuddy –help works.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Comments are closed