I'm having trouble tracing through a .plist with PlistBuddy and change it in the command line, I know the format is similar to, "/usr/libexec/PlistBuddy -c "Set :items:2:assets: www.test.com" ./Test.plist" But I keep getting an error of Does not Exist. What would the path be to change url?
<dict>
<key>items</key>
<array>
<dict>
<key>assets</key>
<array>
<dict>
<key>kind</key>
<string>software-package</string>
<key>url</key>
You can use :items:0:assets:0:url
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With