1ODFMETA(1) User commands ODFMETA(1)
2
3
4
6 odfmeta - List or change the metadata of an ODF file
7
9 odfmeta [-l] [-v] [-V] [-c] [-d] [-x metafield...] [-X metafield...]
10 [-a metafield...] [-A metafield...] [-I metafield...] [-o path]
11 path
12
14 odfmeta is a program that will list or change the metadata in an
15 OpenDocument file. This is useful for version control systems. You can
16 change title, keywords, description etc.
17
18 “Path” is assumed to be an OpenDocument file of text, spreadsheet or
19 presentation type.
20
22 -l
23 List (extract) all known metadata fields.
24
25 -v or -V
26 Print the version number of the ODF document format. If you use -V
27 it will print "version:" before the number for compatibility with
28 -X. The version number can´t be modified.
29
30 -c
31 Make field values continous by normalizing white space. Might be
32 convenient when postprocessing with standard (line oriented) text
33 utilities.
34
35 -d
36 Update the modification date to the current date and time.
37
38 -x metafield
39 Extract the contents of this metafield from the file. Known field
40 names are creation-date, creator, date, description,
41 editing-cycles, editing-duration, generator, initial-creator,
42 keyword, language, print-date, printed-by, subject, title,
43 user-defined. All other names are assumed to be user defined.
44
45 -X metafield
46 Same as -x, but also preserves/includes the field name.
47
48 -a metafield
49 Append a custom metafield to the metadata; but only if a similar
50 field does not exist yet.
51
52 -A metafield
53 Append a custom metafield to the metadata in any case.
54
55 -I metafield
56 Append a custom metafield to the metadata and remove any existing
57 similar field.
58
59 -o path
60 Filename to write modified ODT file to. If no -o option is
61 provided, the ODT file will be written to stdout.
62
64 odfmeta -l odf-file.odt
65 odfmeta -I "title:The Little Engine That Could" -A subject:I-think-I-can -o newfile.odt source.odt
66
68 formail(1), id3tag(1)
69
71 All known versions of OpenOffice.org keep only four <meta:user-defined>
72 elements. If you add more than those, you´ll loose them next time you
73 save with OpenOffice.org. KOffice keeps only one <meta:keyword>
74 element.
75
77 Søren Roug
78 Original author
79
80
81
82odfpy 03/15/2009 ODFMETA(1)