pList compression

David Bovill david at openpartnership.net
Sat Oct 6 12:13:12 EDT 2007


Are these command line utils part of the default Tiger distribution? And
does anyone know what compression is used if it is not possible to rely on
these command line utilities to be present?

On 03/10/2007, Ken Ray <kray at sonsothunder.com> wrote:
>
> On Wed, 3 Oct 2007 13:01:40 -0400, Todd Higgins wrote:
>
> > I'm not sure if this is what you are looking for, but some plist
> > files are in a binary format instead of just raw XML.  Apple has
> > provided a command line utility that allows you to convert between
> > the two formats.
> >
> > NAME
> >      plutil -- property list utility
> >
> > SYNOPSIS
> >      plutil [command_option] [other_options] file
> >              ...
> >
> > DESCRIPTION
> >      plutil can be used to check the syntax of property list files,
> > or convert
> >      a plist file from one format to another.
>
> Right... the formats are "xml1" and "binary1". So for example to
> convert a binary pList to XML, do this:
>
>   plutil -convert xml1 <pathToPList>
>
> and to convert it back:
>
>   plutil -convert binary1 <pathToPList>
>
> HTH,
>
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list