Re: Preferences file in Tiger
Re: Preferences file in Tiger
- Subject: Re: Preferences file in Tiger
- From: Shawn Erickson <email@hidden>
- Date: Tue, 3 May 2005 08:18:31 -0700
On May 3, 2005, at 7:19 AM, Todd Blanchard wrote:
How is "binary" plist different from "classic" plist (which I
prefer and seemed about as small as you could make it, yet remained
vi friendly)?
...one is in binary and the other is in UTF-8 XML. They are vi
friendly with a simple use of a conversion tool, heck on a Mac OS X
you could use a little piping magic and be done with it.
The following is from this page...
<http://developer.apple.com/releasenotes/CoreFoundation/
CoreFoundation.html>
CFPreferences property list change (Section added since WWDC)
In Tiger, CFPreferences now writes out its property lists in the
binary plist format. Panther will read these plists without
modification, although it will write plists as XML. The binary format
is smaller in all cases - for preferences plists that have structures
like arrays of dictionaries where each dictionary has the same keys,
the new plist on disk may be 2 or 3 times smaller.
You can share a home directory between Tiger and Panther without
issue. Should you need to rewrite a plist manually for some reason
you can either convert the plist using plutil(1) or just open it up
and edit it using the Property List Editor application.
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden