Update COMMAND SUMMARY section in manpage

+ Update formatting for consistency
+ Correct minor errors and missing data
main
postscript-dev 4 years ago
parent 863a19d8f9
commit 0a5402da99
No known key found for this signature in database
GPG Key ID: F3EC02A099292862

@ -2,7 +2,7 @@
.\" First parameter, NAME, should be all caps .\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1) .\" other parameters are allowed: see man(7), man(1)
.TH EXIV2 1 "August 06, 2021" .TH EXIV2 1 "August 09, 2021"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
.\" Some roff macros, for reference: .\" Some roff macros, for reference:
@ -136,59 +136,82 @@ encoding of the comment if necessary.
.SH COMMAND SUMMARY .SH COMMAND SUMMARY
.sp 1 .sp 1
.nf .nf
exiv2 [ opt [arg] ]+ [ act ] file ... \fBexiv2\fP [ \fIoption\fP [\fIarg\fP] ]+ [ \fIaction\fP ] \fIfile\fP ...
.sp 1 .sp 1
option [arg] long option description Where \fIfile\fP contains image metadata, optionally using a URL prefix (e.g., https://clanmills.com/Stonehenge.jpg) or wildcard pattern (e.g., *.jpg)
-a time --adjust Modify time stamps. [+|-]HH[:MM[:SS[.mmm]]] .sp 1
-b --binary This option is obsolete and should not be used. Reserved for test suite (with option -pC) \fBoption\fP [\fIarg\fP] \fBlong option\fP [\fIarg\fP] Description
-c txt --comment JPEG comment string to set in the image ('modify' action). ... \fB-a\fP \fItime\fP \fB--adjust\fP \fItime\fP Automatically modify metadata time stamps ...
-d tgt --delete Delete target(s) for the 'delete' action. ... \fB-b\fP \fB--binary\fP Obsolete and should not be used. Reserved for test suite (with \fB-p\fP\fIC\fP)
-D +-n --days Time adjustment by a positive or negative number of days ... \fB-c\fP \fItxt\fP \fB--comment\fP \fItxt\fP JPEG comment string to set in the image. For the 'modify' action ...
-e tgt --extract Extract target(s) for the 'extract' action. \fB-d\fP \fItgt1\fP \fB--delete\fP \fItgt1\fP Delete target(s) for the 'delete' action ...
-f --force Do not prompt before overwriting existing files ... \fB-D\fP \fI+-n\fP \fB--days\fP \fI+-n\fP Automated adjustment of the days in metadata dates ...
-F --Force Do not prompt before renaming files (Force rename) ... \fB-e\fP \fItgt3\fP \fB--extract\fP \fItgt3\fP Extract target(s) for the 'extract' action ...
-g key --grep Only output info for this Exiv2 key \fB-f\fP \fB--force\fP Do not prompt before overwriting existing files ...
-h --help Display help and exit. \fB-F\fP \fB--Force\fP Do not prompt before renaming files ...
-i tgt --insert Insert target(s) for the 'insert' action. ... \fB-g\fP \fIstr\fP \fB--grep\fP \fIstr\fP Only output where \fIstr\fP matches in output text ...
-k --keep Preserve file timestamps when updating files \fB-h\fP \fB--help\fP Display help and exit
-K key --key Report key. Similar to -g (grep) however key must match exactly. \fB-i\fP \fItgt2\fP \fB--insert\fP \fItgt2\fP Insert target(s) for the 'insert' action ...
-l dir --location Location (directory) for files to be inserted or extracted. \fB-k\fP \fB--keep\fP Preserve file timestamps when updating files ...
-m cmdfile --modify read commands from cmd-file \fB-K\fP \fIkey\fP \fB--key\fP \fIkey\fP Report a key. Similar to \fB-g\fP, however \fIkey\fP must match exactly ...
-M cmd --Modify Command line for the 'modify' action. ... \fB-l\fP \fIdir\fP \fB--location\fP \fIdir\fP Location (directory) for files to be inserted or extracted ...
-n enc --encode Charset to decode Exif Unicode user comments. See: man 3 iconv_open \fB-m\fP \fIcmdfile\fP \fB--modify\fP \fIcmdfile\fP Read commands from a file ...
-O +-n --months Time adjustment by a positive or negative number of months, ... \fB-M\fP \fIcmd\fP \fB--Modify\fP \fIcmd\fP Modify the metadata with the command. For the 'modify' action ...
-p mod --print Print report (common reports) \fB-n\fP \fIenc\fP \fB--encode\fP \fIenc\fP Charset to decode Exif Unicode user comments ...
-P flg --Print Print report (fine grained control) \fB-O\fP \fI+-n\fP \fB--months\fP \fI+-n\fP Automated adjustment of the months in metadata dates ...
-q --quiet Silence warnings and error messages from the Exiv2 library ... \fB-p\fP \fImod\fP \fB--print\fP \fImod\fP Print report (common reports) ...
-Q lvl --log Set the log-level to 'd'(ebug), 'i'(nfo), 'w'(arning), 'e'(rror) \fB-P\fP \fIflg\fP \fB--Print\fP \fIflg\fP Print report (fine grained control) ...
-r fmt --rename Filename format for the 'rename' action. ... \fB-q\fP \fB--quiet\fP Silence warnings and error messages ...
-S suf --suffix Use suffix .suf for source files for insert command. \fB-Q\fP \fIlvl\fP \fB--log\fP \fIlvl\fP Set the log-level to 'd'(ebug), 'i'(nfo), 'w'(arning), 'e'(rror) ...
-t --timestamp Set the file timestamp according to the Exif create timestamp ... \fB-r\fP \fIfmt\fP \fB--rename\fP \fIfmt\fP Filename format for the 'rename' action ...
-T --Timestamp Only set the file timestamp according to Exif create timestamp ... \fB-S\fP \fIsuf\fP \fB--suffix\fP \fIsuf\fP Use suffix for source files when using the 'insert' command ...
-u --unknown Show unknown tags ... \fB-t\fP \fB--timestamp\fP Set the file timestamp from Exif metadata. For the 'rename' action ...
-v --verbose verbose \fB-T\fP \fB--Timestamp\fP Only set the file timestamp from Exif metadata. For the 'rename' action ...
-V --version Show the program version and exit. \fB-u\fP \fB--unknown\fP Show unknown tags ...
-Y +-n --years Time adjustment by a positive or negative number of years ... \fB-v\fP \fB--verbose\fP Verbose
.sp 1 \fB-V\fP \fB--version\fP Show the program version and exit ...
act pr | ex | in | rm | ad | mo | mv | fi | fc \fB-Y\fP \fI+-n\fP \fB--years\fP \fI+-n\fP Automated adjustment of the years in metadata dates ...
.sp 1
\fIaction\fP pr | ex | in | rm | ad | mo | mv | fi | fc
print, extract, insert, delete, adjust, modify, rename, fixiso, fixcom print, extract, insert, delete, adjust, modify, rename, fixiso, fixcom
cmd See "Commands" below. \fIcmd\fP \fBset | add | del\fP \fIkey\fP [[\fItype\fP] \fIvalue\fP]
(see \fBCommand format\fP)
flg E | I | X | x | g | k | l | n | y | c | s | v | t | h \fIenc\fP Values defined in \fBiconv_open\fP(3) (e.g., UTF-8)
\fIflg\fP E | I | X | x | g | k | l | n | y | c | s | v | t | h
Exif, IPTC, XMP, num, grp, key, label, name, type, count, size, vanilla, translated, hex Exif, IPTC, XMP, num, grp, key, label, name, type, count, size, vanilla, translated, hex
fmt Default format is %Y%m%d_%H%M%S. \fIfmt\fP Default format: %Y%m%d_%H%M%S
\fIkey\fP Exiv2 key using the format Family.Group.Tagname (e.g., Exif.Image.Model)
lvl d | i | i | w | e \fIlvl\fP d | i | w | e
debug, info, warning, error debug, info, warning, error
mod s | a | e | t | v | h | i | x | c | p | i | C | R | S | X \fImod\fP s | a | e | t | v | h | i | x | c | p | C | R | S | X
summary, all, exif, translated, vanilla, hex, iptc, xmp, comment, preview, summary, all, Exif, translated, vanilla, hex, IPTC, XMP, comment, preview,
ICC Profile, Recursive Structure, Simple Structure, raw XMP ICC Profile, Recursive Structure, Simple Structure, raw XMP
tgt a | c | e | i | p | t | x | C | X | XX | - \fIsuf\fP '.' then the file's extension (e.g., '.txt')
all, comment, exif, iptc, preview, thumb, xmp, ICC Profile, SideCar, RawXMP, stdin/out
\fItime\fP [+|-]HH[:MM[:SS[.mmm]]]
(Default is \fB+\fP when \fB+\fP/\fB-\fP are missing)
\fItgt1\fP a | c | e | i | t | x | C | -
all, comment, Exif, IPTC, thumbnail, XMP, ICC Profile, stdin/out
\fItgt\fP2 a | c | e | i | t | x | C | X | XX | -
all, comment, Exif, IPTC, thumbnail, XMP, ICC Profile, SideCar, Raw XMP, stdin/out
\fItgt3\fP a e | i | p | t | x | C | X | XX | -
all, Exif, IPTC, preview, thumbnail, XMP, ICC Profile, SideCar, Raw XMP, stdin/out
\fItype\fP An Exif, IPTC or XMP tag type (e.g., xmpText). See \fBEXIV2 TAGNAMES AND VALUES\fP
\fI+-n\fP The amount to change in the date (e.g., -3). Default is \fB+\fP when \fB+\fP/\fB-\fP are missing
.fi .fi
.ne 40 .ne 40
.SH OPTIONS .SH OPTIONS
@ -622,7 +645,7 @@ Empty lines and lines starting with \fB#\fP in a command file are
ignored (comments). Remaining lines are commands as described above. ignored (comments). Remaining lines are commands as described above.
.br .br
.ne 40 .ne 40
.SH EXIF TAGNAMES AND VALUES .SH EXIV2 TAGNAMES AND VALUES
Exiv2 displays metadata tags and values. Exiv2 displays metadata tags and values.
.sp 1 .sp 1
The tag is a triplet of Family.Group.Tagname. The following groups are defined for the family Exif: The tag is a triplet of Family.Group.Tagname. The following groups are defined for the family Exif:

Loading…
Cancel
Save