plutil(1)

πŸ“¦
version 1.31.1 Β· 2 versions
, in arch rolling, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

🌸 NAME 🌸

Okay bestie, meet plutil(1) from the General Commands Manual β€” the Property list utility. That's the whole name line, but now with main-character energy. πŸ’…

✨ SYNOPSIS ✨

progname [-command] [-options] file

πŸ¦‹ DESCRIPTION πŸ¦‹

The plutil utility edits property lists, verifies the syntax, and converts from one format to another. If - is given as the file path, stdin and stdout are used.

First up is the action to perform β€” pick one:

  • -p β€” Print the whole plist to stdout, in the human-readable GNUStep format.
  • -lint β€” Verifies the plist can be parsed.
  • -convert FMT β€” Converts the plist to another format. FMT can be one of:
    • xml1 β€” Apple XML.
    • binary1 β€” Apple binary.
    • openstep β€” OpenStep (untyped human-readable).
    • gnustep β€” GNUStep (typed human-readable).
    • json β€” JSON (lossy human-readable).

The NSPropertyListFormat names are accepted too.

  • -insert PATH KEY Value β€” the page gives this exact signature and no extra description under it. Keeping it exactly as-is, bestie. 🫢

The default action is -lint.

The general options are:

…and then the page literally stops listing. No general options follow in the source, so I'm not inventing any. 😭

A plutil β€œkeypath” is a dot-separated chain of keys for traversing a plist object. An empty keypath refers to the object itself. The format of keys conform to that of GNUStep plist string literals.

🧚 IMPLEMENTATION NOTES 🧚

  • Quoted strings in the keypath is a GNUStep extension.
  • The Objective-C and Swift literal output formats are not yet implemented.

πŸ’€ EXIT STATUS πŸ’€

(Nothing listed here on the page β€” no invented status tea. πŸ™ˆ)

🌈 EXAMPLES 🌈

(Nothing listed here on the page either. Tragic, but we move. πŸ’€)

πŸ’¬ DIAGNOSTICS πŸ’¬

(No diagnostics listed here on the page. Zero extra claims, periodt.)

πŸ”— SEE ALSO πŸ”—

πŸ‘‘ AUTHORS πŸ‘‘

This version of plutil was written by Mingye Wang <arthur2e5@aosc.io>.

plutil first appeared in Mac OS X 10.2. It received path-related capabilities around Mac OS X 10.13.


Signed, sealed, slayed: this plutil(1) page is from Debian, dated September 23, 2020. Mwah πŸ’‹

πŸ“¦ where this page comes from