Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A set of free scripts to help manage binary plist files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A set of free scripts to help manage binary plist files
Authored by: stephendv on May 26, '05 11:43:13AM
The Property List Editor application is the default app associated with plist files; so you can use the following from the terminal:
sudo open /path/to/file.plist
One thing I've noticed is that I get a permissions error when choosing 'save' - even if I use sudo and even if I have full write permission to the file - but using 'save as...' works just fine.

[ Reply to This | # ]
A set of free scripts to help manage binary plist files
Authored by: danielj7 on May 26, '05 12:46:44PM
Yeah, for this to work you need to run the Property List Editor executable directly with sudo; you can't use open. Like so:
sudo /Developer/Applications/Utilities/Property\ List\ Editor.app/Contents/MacOS/Property\ List\ Editor
A real PITA. From there, the "Open" and "Save" commands should work with full root access.

[ Reply to This | # ]
A set of free scripts to help manage binary plist files
Authored by: danielj7 on May 26, '05 12:50:32PM
Oops, my bad. Used the wrong tags. There should be backslashes before those spaces. Let's try again.
 sudo /Developer/Applications/Utilities/Property\ List\ Editor.app/Contents/MacOS/Property\ List\ Editor


[ Reply to This | # ]
A set of free scripts to help manage binary plist files
Authored by: maddys_daddy on May 26, '05 10:12:38PM

Alternatively (although this is outside of the terminal, which I believe was the original spirit of the OP), Quicksilver has a "Launch as Root" action. So you open Quicksilver, type "prop", (plist editor is at the top of the list by just typing these 4 letters), hit tab, type "root", and the "Launch as Root" action shows up. Hitting enter results in the administrator password prompt, and viola, plist editor with root priveleges. May sound like alot of typing and steps, but it's really quite fluid and fast, especially once you become adept at using QS, and it's certainly faster than opening the terminal (if it's not already), and typing in the entire path. Absolutely indispensable.



[ Reply to This | # ]
A set of free scripts to help manage binary plist files
Authored by: gullevek on May 27, '05 08:24:26AM

if you don't find "launch as root" you need to activate this action in quicksilver. Launch Preferences, select Actions, select Files & Folders and tick "Launch as Root"



[ Reply to This | # ]