'\" t .\" Title: odfmeta .\" Author: S\(/oren Roug .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 10/12/2014 .\" Manual: User commands .\" Source: odfpy .\" Language: English .\" .TH "ODFMETA" "1" "10/12/2014" "odfpy" "User commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" odfmeta \- List or change the metadata of an ODF file .SH "SYNOPSIS" .HP \w'\fBodfmeta\fR\ 'u \fBodfmeta\fR [\-l] [\-v] [\-V] [\-c] [\-d] [\-x\ \fImetafield\fR...] [\-X\ \fImetafield\fR...] [\-a\ \fImetafield\fR...] [\-A\ \fImetafield\fR...] [\-I\ \fImetafield\fR...] [\-o\ \fIpath\fR] \fIpath\fR .SH "DESCRIPTION" .PP \fBodfmeta\fR is a program that will list or change the metadata in an OpenDocument file\&. This is useful for version control systems\&. You can change title, keywords, description etc\&. .PP \(lqPath\(rq is assumed to be an OpenDocument file of text, spreadsheet or presentation type\&. .SH "OPTIONS" .PP \-l .RS 4 List (extract) all known metadata fields\&. .RE .PP \-v or \-V .RS 4 Print the version number of the ODF document \fIformat\fR\&. If you use \-V it will print "version:" before the number for compatibility with \-X\&. The version number can\*(Aqt be modified\&. .RE .PP \-c .RS 4 Make field values continous by normalizing white space\&. Might be convenient when postprocessing with standard (line oriented) text utilities\&. .RE .PP \-d .RS 4 Update the modification date to the current date and time\&. .RE .PP \-x \fImetafield\fR .RS 4 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\&. .RE .PP \-X \fImetafield\fR .RS 4 Same as \-x, but also preserves/includes the field name\&. .RE .PP \-a \fImetafield\fR .RS 4 Append a custom metafield to the metadata; but only if a similar field does not exist yet\&. .RE .PP \-A \fImetafield\fR .RS 4 Append a custom metafield to the metadata in any case\&. .RE .PP \-I \fImetafield\fR .RS 4 Append a custom metafield to the metadata and remove any existing similar field\&. .RE .PP \-o \fIpath\fR .RS 4 Filename to write modified ODT file to\&. If no \fB\-o\fR option is provided, the ODT file will be written to stdout\&. .RE .SH "EXAMPLES" .sp .if n \{\ .RS 4 .\} .nf odfmeta \-l odf\-file\&.odt odfmeta \-I "title:The Little Engine That Could" \-A subject:I\-think\-I\-can \-o newfile\&.odt source\&.odt .fi .if n \{\ .RE .\} .SH "SEE ALSO" .PP \fBformail\fR(1), \fBid3tag\fR(1) .SH "BUGS" .PP All known versions of OpenOffice\&.org keep only four elements\&. If you add more than those, you\*(Aqll loose them next time you save with OpenOffice\&.org\&. KOffice keeps only one element\&. .SH "AUTHOR" .PP \fBS\(/oren Roug\fR .RS 4 Original author .RE