diff options
| author | 2020-06-05 17:09:32 +0200 | |
|---|---|---|
| committer | 2020-06-05 17:09:32 +0200 | |
| commit | 525d6a7f31a736042860b263d3409f38cdc51820 (patch) | |
| tree | d19ed4ba71412db2c7e550a0975efde5b5ab066c /docs | |
| parent | 07edc82d87e49da7c59f32995f914e17e9f233ba (diff) | |
| download | libplist-525d6a7f31a736042860b263d3409f38cdc51820.tar.gz libplist-525d6a7f31a736042860b263d3409f38cdc51820.tar.bz2 | |
Add man page for plistutil
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/Makefile.am | 3 | ||||
| -rw-r--r-- | docs/plistutil.1 | 62 |
2 files changed, 65 insertions, 0 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am new file mode 100644 index 0000000..f025791 --- /dev/null +++ b/docs/Makefile.am | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | man_MANS = plistutil.1 | ||
| 2 | |||
| 3 | EXTRA_DIST = $(man_MANS) | ||
diff --git a/docs/plistutil.1 b/docs/plistutil.1 new file mode 100644 index 0000000..042c94e --- /dev/null +++ b/docs/plistutil.1 | |||
| @@ -0,0 +1,62 @@ | |||
| 1 | .TH "plistutil" 1 | ||
| 2 | .SH NAME | ||
| 3 | plistutil \- Convert a plist FILE from binary to XML format or vice-versa | ||
| 4 | .SH SYNOPSIS | ||
| 5 | .B plistutil | ||
| 6 | [OPTIONS] | ||
| 7 | [-i FILE] | ||
| 8 | [-o FILE] | ||
| 9 | .SH DESCRIPTION | ||
| 10 | plistutil allows to convert a file in Property List format from binary to XML format or vice-versa. | ||
| 11 | .SH OPTIONS | ||
| 12 | .TP | ||
| 13 | .B \-i, \-\-infile FILE | ||
| 14 | Input FILE to convert from. If this argument is omitted or - is passed as | ||
| 15 | filename, plistutil will read from stdin. | ||
| 16 | .TP | ||
| 17 | .B \-o, \-\-outfile FILE | ||
| 18 | Output FILE to convert to. If this argument is omitted or - is passed as | ||
| 19 | filename, plistutil will write to stdout. | ||
| 20 | .TP | ||
| 21 | .B \-f, \-\-format [bin|xml] | ||
| 22 | Force output format, regardless of input type. This is useful if the input | ||
| 23 | format is not known, but the output format should always be in a specific | ||
| 24 | format (like xml). | ||
| 25 | .TP | ||
| 26 | .B \-h, \-\-help | ||
| 27 | Prints usage information. | ||
| 28 | .TP | ||
| 29 | .B \-d, \-\-debug | ||
| 30 | Enabled extended debug output. | ||
| 31 | .TP | ||
| 32 | .B \-v, \-\-version | ||
| 33 | Print version information | ||
| 34 | .SH EXAMPLES | ||
| 35 | .TP | ||
| 36 | .B plistutil -i test.plist -o out.plist | ||
| 37 | Convert test.plist and write to out.plist. If test.plist is in XML format, | ||
| 38 | out.plist will be in binary format. If test.plist is in binary format, | ||
| 39 | out.plist will be in XML format. | ||
| 40 | .TP | ||
| 41 | .B plistutil -i test.plist -o out.plist -f bin | ||
| 42 | Same as before, but the output will always be in binary format. | ||
| 43 | .TP | ||
| 44 | .B plistutil -i test.plist -f xml | ||
| 45 | Print test.plist as XML plist, regardless of the input format. | ||
| 46 | .TP | ||
| 47 | .B plistutil -i test.plist -f xml -o - | ||
| 48 | Same as before. | ||
| 49 | .TP | ||
| 50 | .B cat test.plist |plistutil -f xml | ||
| 51 | Take plist data from stdin - piped via cat - and write the output as XML | ||
| 52 | to stdout. | ||
| 53 | .SH AUTHORS | ||
| 54 | Zach C. | ||
| 55 | |||
| 56 | Martin Szulecki | ||
| 57 | |||
| 58 | Nikias Bassen | ||
| 59 | .SH ON THE WEB | ||
| 60 | https://libimobiledevice.org | ||
| 61 | |||
| 62 | https://github.com/libimobiledevice/libplist | ||
