ODFMETA(1)

πŸ“¦ version 1.4.2, in opensuse-leap 16.0

πŸŽ€ 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. πŸ‘‘
  • -v or -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. πŸ•°οΈ
  • -x metafield β€” Extract the contents of this metafield from the file. Known field names are creation-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. 🌈
  • -X metafield β€” Same as -x, but also preserves/includes the field name. πŸ’–
  • -a metafield β€” Append a custom metafield to the metadata; but only if a similar field does not exist yet. πŸ¦‹
  • -A metafield β€” Append a custom metafield to the metadata in any case. πŸ”₯
  • -I metafield β€” Append a custom metafield to the metadata and remove any existing similar field. πŸ’…
  • -o path β€” Filename to write modified ODT file to. If no -o option 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