A number of methods are available that involve “tools” either requiring installatins or some form of previous knowledge about the .plist
file contents.
As everything we need is already embedded within the OS (tested with 10.8.5), I’ll just go ahead and describe my manual method:
- convert the
.plist
file (or a copy!) frombinary1
(default/original format) to the format of your preference (xml1
orjson
) - edit the file
- convert the file back to
binary1
format
plutil -convert xml1 <filename>
vi <filename> :)
plutil -convert binary1 <filename>