man exiv2 (Commandes) - EXIF/IPTC metadata manipulation tool
NAME
exiv2 - EXIF/IPTC metadata manipulation tool
SYNOPSIS
exiv2
[options] [action] file ...
DESCRIPTION
This manual page documents briefly the exiv2 command.
exiv2 is a program that can read/write EXIF/IPTC metadata in JPEG files.
ACTIONS
- ad | adjust
- Adjust EXIF timestamps by the given time. This action requires the option -a time.
- pr | print
- Print image metadata. This is the default action.
- rm | delete
- Delete image metadata from the files.
- in | insert
- Insert metadata from corresponding *.exv files.
- ex | extract
- Extract metadata to *.exv and thumbnail image files.
- mv | rename
- Rename files according to the EXIF create timestamp. The filename format can be set with -r format.
- mo | modify
- Apply commands to modify (add, set, delete) the EXIF/IPTC metadata of image files. Requires option -m or -M.
OPTIONS
- -h
- Display help and exit.
- -V
- Show the program version and exit.
- -v
- Be verbose during the program run.
- -f
- Do not prompt before overwriting existing files (force).
- -F
- Do not prompt before renaming existing files (Force).
- -a time
- Time adjustment in the format [-]HH[:MM[:SS]]. This option is only used with the `adjust' action.
- -p mode
- Print mode for the `print' action. Possible modes are:
s : print a summary of the EXIF metadata (the default)
t : interpreted (translated) EXIF data
v : plain EXIF data values
h : hexdump of the EXIF data
i : IPTC data values
c : JPEG comment - -d tgt
- Delete target(s) for the `delete' action. Possible targets are:
a : all supported metadata (the default)
e : EXIF section
t : EXIF thumbnail only
i : IPTC data
c : JPEG comment - -i tgt
- Insert target(s) for the `insert' action. Possible targets are the same as those for the -d option. Only JPEG thumbnails can be inserted, they need to be named <file>-thumb.jpg.
- -e tgt
- Extract target(s) for the `extract' action. Possible targets the same as those for the -d option.
- -r fmt
- Filename format for the `rename' action. The format string follows strftime(3). Default filename format is %Y%m%d_%H%M%S.
- -m file
- Command file for the modify action. The format for commands is
set|add|del <key> [[<type>] <value>]. - -M cmd
- Command line for the modify action. The format for the commands is the same as that of the lines of a command file.
- -l dir
- Location (directory) for files to be inserted or extracted.
SEE ALSO
/usr/share/doc/exiv2/examples/cmd.txt contains some examples for the -m and -M options.
AUTHOR
exiv2 was written by Andreas HUGGEL <ahuggel@gmx.net>.
This manual page was written by KELEMEN Peter <fuji@debian.org>, for the Debian project (but may be used by others).