Wall-E
2005/05/27, 04:58 PM
I wrote some free Perl scripts to help those who like using the command line deal with Apple's binary .plist file format that is omnipresent in Tiger.
[robg adds: I tested these, and they work quite well. Binary plist files ...
http://www.macosxhints.com/article.php?story=20050515173121415
albireo
2005/05/27, 05:21 PM
Tiger ÀÇ Terminal »ó¿¡¼ ¿øÇÏ´Â ¹ÙÀ̳ʸ® .plist ÆÄÀÏÀ» ASCII ·Î º¸¿©ÁÖ°í Æ¯Á¤ ¿¡µðÅÍ·Î ¼Õ½±°Ô ÆíÁýÇÒ ¼ö ÀÖµµ·Ï ÇÏ´Â ÆÞ½ºÅ©¸³Æ®¸¦ ¼Ò°³Çϰí ÀÖ½À´Ï´Ù. ¼¼ °¡Áö Ä¿¸Çµå¸¦ Á¦°øÇϴ±º¿ä.
plcat: A simple means for viewing an ASCII representation of a binary .plist file. Basically converts a binary .plist file to ASCII and displays it directly to the screen (/dev/stdout).
plmore: A simple means for viewing an ASCII representation of a binary .plist file, one screen at a time. Similar to plcat, but "piped" to more.
pledit: A simple means for editing binary .plist files in your favorite editor (vim, naturally!), automatically keeping a backup trail of each edit. This script temporarily converts the file to ASCII, enabling easier editing. Upon finishing your edits, the file is converted back to its original compact binary format. A complete backup trail (filename.plist.OLD, filename.plist.OLD.1, etc.) is kept for your convenience.
http://www.macorchard.com/cgi-bin/cgiwrap/themaco/frameit/frameit.pl?location=http://www.macorchard.com/PLTools/