PlistEdit Pro > Help > The pledit command line tool

The pledit command line tool

PlistEdit Pro also provides a command line tool, pledit, which allows you to open property lists in PlistEdit Pro from the command line and shell scripts. You can open any number of existing property list files by passing them as arguments on the command line:

% pledit ~/Library/Preferences/com.apple.finder.plist
% pledit MyApp.app/Contents/Resources/*.plist

pledit can also read property list data from stdin and open the data up as a new document in PlistEdit Pro:

% ibtool --export keypaths.plist MainMenu.nib | pledit
% hdiutil imageinfo -plist MyDiskImage.dmg | pledit

The first time you open PlistEdit Pro with a new version of pledit, it will ask you if you want to install the tool, which requires an admin password and installs in /usr/bin. You can also install the tool later via the preferences window.

<< AppleScript
Registration >>