defaults write
Greetings,
I spent some time today with the defaults command. I came to the conclusion that it is difficult if not impossible for (me) to figure out how to create a successful write command by looking at an xml version (plutil -convert xml1) of a plist file. I parsed through some known "defaults write" commands on the web but I couldn't relate those to their respective plist files, i.e, grepping the plist file for the argument failed to produce a hit. An example of what I am trying to do would be trying to set AppleShowAllExtensions = 1 in .GlobalPreferences.plist.
Should I keep at this, or give up? It would seem that the few commands I have found out there must have been leaked by someone at Apple. I would be grateful for any tips you could offer me on how to do this. I looked at man and help but regrettably I am failing.
Thanks for your input.
I spent some time today with the defaults command. I came to the conclusion that it is difficult if not impossible for (me) to figure out how to create a successful write command by looking at an xml version (plutil -convert xml1) of a plist file. I parsed through some known "defaults write" commands on the web but I couldn't relate those to their respective plist files, i.e, grepping the plist file for the argument failed to produce a hit. An example of what I am trying to do would be trying to set AppleShowAllExtensions = 1 in .GlobalPreferences.plist.
Should I keep at this, or give up? It would seem that the few commands I have found out there must have been leaked by someone at Apple. I would be grateful for any tips you could offer me on how to do this. I looked at man and help but regrettably I am failing.
Thanks for your input.
Mac OS X (10.5.7)