tldr/pages/osx/plutil.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

819 B

plutil

View, convert, validate, or edit property list ("plist") files.

  • Display the contents of one or more plist files in human-readable format:

plutil -p {{file1.plist file2.plist ...}}

  • Convert one or more plist files to XML format, overwriting the original files in-place:

plutil -convert xml1 {{file1.plist file2.plist ...}}

  • Convert one or more plist files to binary format, overwriting the original files in-place:

plutil -convert binary1 {{file1.plist file2.plist ...}}

  • Convert a plist file to a different format, writing to a new file:

plutil -convert {{xml1|binary1|json|swift|objc}} {{path/to/file.plist}} -o {{path/to/new_file.plist}}

  • Convert a plist file to a different format, writing to stdout:

plutil -convert {{xml1|binary1|json|swift|objc}} {{path/to/file.plist}} -o -