summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2020-06-05 17:09:32 +0200
committerGravatar Nikias Bassen2020-06-05 17:09:32 +0200
commit525d6a7f31a736042860b263d3409f38cdc51820 (patch)
treed19ed4ba71412db2c7e550a0975efde5b5ab066c /docs
parent07edc82d87e49da7c59f32995f914e17e9f233ba (diff)
downloadlibplist-525d6a7f31a736042860b263d3409f38cdc51820.tar.gz
libplist-525d6a7f31a736042860b263d3409f38cdc51820.tar.bz2
Add man page for plistutil
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile.am3
-rw-r--r--docs/plistutil.162
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 @@
1man_MANS = plistutil.1
2
3EXTRA_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
3plistutil \- 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
10plistutil 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
14Input FILE to convert from. If this argument is omitted or - is passed as
15filename, plistutil will read from stdin.
16.TP
17.B \-o, \-\-outfile FILE
18Output FILE to convert to. If this argument is omitted or - is passed as
19filename, plistutil will write to stdout.
20.TP
21.B \-f, \-\-format [bin|xml]
22Force output format, regardless of input type. This is useful if the input
23format is not known, but the output format should always be in a specific
24format (like xml).
25.TP
26.B \-h, \-\-help
27Prints usage information.
28.TP
29.B \-d, \-\-debug
30Enabled extended debug output.
31.TP
32.B \-v, \-\-version
33Print version information
34.SH EXAMPLES
35.TP
36.B plistutil -i test.plist -o out.plist
37Convert test.plist and write to out.plist. If test.plist is in XML format,
38out.plist will be in binary format. If test.plist is in binary format,
39out.plist will be in XML format.
40.TP
41.B plistutil -i test.plist -o out.plist -f bin
42Same as before, but the output will always be in binary format.
43.TP
44.B plistutil -i test.plist -f xml
45Print test.plist as XML plist, regardless of the input format.
46.TP
47.B plistutil -i test.plist -f xml -o -
48Same as before.
49.TP
50.B cat test.plist |plistutil -f xml
51Take plist data from stdin - piped via cat - and write the output as XML
52to stdout.
53.SH AUTHORS
54Zach C.
55
56Martin Szulecki
57
58Nikias Bassen
59.SH ON THE WEB
60https://libimobiledevice.org
61
62https://github.com/libimobiledevice/libplist