Skip to main content
added 1 character in body
Source Link
nohillside
  • 104.5k
  • 42
  • 222
  • 275

For macOS

**GET Value - supply raw key **GET Value - supply raw key

/usr/libexec/PlistBuddy -c "Print CFBundleExecutable" Info.plist

/usr/libexec/PlistBuddy -c "Print CFBundleExecutable" Info.plist

**SET Value - supply raw key and value **SET Value - supply raw key and value

/usr/libexec/PlistBuddy -c "Set CFBundleExecutable <Executable>" Info.plist

/usr/libexec/PlistBuddy -c "Set CFBundleExecutable <Executable>" Info.plist

For macOS

**GET Value - supply raw key **

/usr/libexec/PlistBuddy -c "Print CFBundleExecutable" Info.plist

**SET Value - supply raw key and value **

/usr/libexec/PlistBuddy -c "Set CFBundleExecutable <Executable>" Info.plist

GET Value - supply raw key

/usr/libexec/PlistBuddy -c "Print CFBundleExecutable" Info.plist

SET Value - supply raw key and value

/usr/libexec/PlistBuddy -c "Set CFBundleExecutable <Executable>" Info.plist
A colon should not be supplied between the `Print` or `Set` command and the dictionary key
Source Link

For macOS

GET Value **GET Value - supply raw key **

/usr/libexec/PlistBuddy -c "Print : CFBundleExecutable" Info.plist

SET Value **SET Value - supply raw key and value **

/usr/libexec/PlistBuddy -c "Set : CFBundleExecutable <Executable>" Info.plist

For macOS

GET Value

/usr/libexec/PlistBuddy -c "Print : CFBundleExecutable" Info.plist

SET Value

/usr/libexec/PlistBuddy -c "Set : CFBundleExecutable <Executable>" Info.plist

For macOS

**GET Value - supply raw key **

/usr/libexec/PlistBuddy -c "Print CFBundleExecutable" Info.plist

**SET Value - supply raw key and value **

/usr/libexec/PlistBuddy -c "Set CFBundleExecutable <Executable>" Info.plist

Source Link
qoomon
  • 128
  • 4

For macOS

GET Value

/usr/libexec/PlistBuddy -c "Print : CFBundleExecutable" Info.plist

SET Value

/usr/libexec/PlistBuddy -c "Set : CFBundleExecutable <Executable>" Info.plist