ODFMETA(1)
π NAME π
Okay bestie, welcome to odfmeta(1) β User commands page, very demure, very metadata. odfmeta is the program that will list or change the metadata of an ODF file. Itβs lowkey a lifesaver for version control systems, no cap. You can change title, keywords, description, etc. π
β¨ SYNOPSIS β¨
Hereβs the vibe:
odfmeta [-l] [-v] [-V] [-c] [-d] [-x metafield...] [-X metafield...]
[-a metafield...] [-A metafield...] [-I metafield...] [-o path]
path
π DESCRIPTION π
So odfmeta is a program that will list or change the metadata in an OpenDocument file. Itβs useful for version control systems β periodt. You can change title, keywords, description, etc. π¦
βPathβ is assumed to be an OpenDocument file of text, spreadsheet or presentation type. πΈ
πΈ OPTIONS πΈ
-lβ List (extract) all known metadata fields. π-vor-Vβ Print the version number of the ODF document format. If you use-V, it will print"version:"before the number for compatibility with-X. The version number canβt be modified. π-cβ Make field values continous by normalizing white space. Might be convenient when postprocessing with standard (line oriented) text utilities. β¨-dβ Update the modification date to the current date and time. π°οΈ-xmetafield β Extract the contents of this metafield from the file. Known field names arecreation-date,creator,date,description,editing-cycles,editing-duration,generator,initial-creator,keyword,language,print-date,printed-by,subject,title,user-defined. All other names are assumed to be user defined. π-Xmetafield β Same as-x, but also preserves/includes the field name. π-ametafield β Append a custom metafield to the metadata; but only if a similar field does not exist yet. π¦-Ametafield β Append a custom metafield to the metadata in any case. π₯-Imetafield β Append a custom metafield to the metadata and remove any existing similar field. π-opath β Filename to write modified ODT file to. If no-ooption is provided, the ODT file will be written to stdout. π
π¦ EXAMPLES π¦
Try these, they ate:
odfmeta -l odf-file.odt
odfmeta -I "title:The Little Engine That Could" -A subject:I-think-I-can -o newfile.odt source.odt
π₯ SEE ALSO π₯
π BUGS π
Heads up bestie: all known versions of OpenOffice.org keep only four<meta:user-defined>elements. If you add more than those, youβll loose them next time you save with OpenOffice.org. KOffice keeps only one<meta:keyword>element. π
π AUTHOR π
- SΓΈren Roug β Original author
mwah π β this ODFMETA(1) page comes from odfpy, and its date is 03/15/2009.
π¦ where this page comes from
- opensuse-leap 16.0: python313-odfpy 1.4.2-bp160.1.11 Β· Apache-2.0 OR GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms