|
|
|
|
Exiv2 test directory -----------------------------------------------------
|
|
|
|
|
tmp/
|
|
|
|
|
|
|
|
|
|
Exiv2 version ------------------------------------------------------------
|
|
|
|
|
exiv2 0.25 001900 (__ bit build)
|
|
|
|
|
Copyright (C) 2004-2015 Andreas Huggel.
|
|
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public
|
|
|
|
|
License along with this program; if not, write to the Free
|
|
|
|
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
|
Boston, MA 02110-1301 USA
|
|
|
|
|
|
|
|
|
|
Exiv2 help ---------------------------------------------------------------
|
|
|
|
|
Usage: exiv2 [ options ] [ action ] file ...
|
|
|
|
|
|
|
|
|
|
Manipulate the Exif metadata of images.
|
|
|
|
|
|
|
|
|
|
Actions:
|
|
|
|
|
ad | adjust Adjust Exif timestamps by the given time. This action
|
|
|
|
|
requires at least one of the -a, -Y, -O or -D options.
|
|
|
|
|
pr | print Print image metadata.
|
|
|
|
|
rm | delete Delete image metadata from the files.
|
|
|
|
|
in | insert Insert metadata from corresponding *.exv files.
|
|
|
|
|
Use option -S to change the suffix of the input files.
|
|
|
|
|
ex | extract Extract metadata to *.exv, *.xmp and thumbnail image files.
|
|
|
|
|
mv | rename Rename files and/or set file timestamps according to the
|
|
|
|
|
Exif create timestamp. The filename format can be set with
|
|
|
|
|
-r format, timestamp options are controlled with -t and -T.
|
|
|
|
|
mo | modify Apply commands to modify (add, set, delete) the Exif and
|
|
|
|
|
IPTC metadata of image files or set the JPEG comment.
|
|
|
|
|
Requires option -c, -m or -M.
|
|
|
|
|
fi | fixiso Copy ISO setting from the Nikon Makernote to the regular
|
|
|
|
|
Exif tag.
|
|
|
|
|
fc | fixcom Convert the UNICODE Exif user comment to UCS-2. Its current
|
|
|
|
|
character encoding can be specified with the -n option.
|
|
|
|
|
|
|
|
|
|
Options:
|
|
|
|
|
-h Display this help and exit.
|
|
|
|
|
-V Show the program version and exit.
|
|
|
|
|
-v Be verbose during the program run.
|
|
|
|
|
-q Silence warnings and error messages during the program run (quiet).
|
|
|
|
|
-Q lvl Set log-level to d(ebug), i(nfo), w(arning), e(rror) or m(ute).
|
|
|
|
|
-b Show large binary values.
|
|
|
|
|
-u Show unknown tags.
|
|
|
|
|
-g key Only output info for this key (grep).
|
|
|
|
|
-K key Only output info for this key (exact match).
|
|
|
|
|
-n enc Charset to use to decode UNICODE Exif user comments.
|
|
|
|
|
-k Preserve file timestamps (keep).
|
|
|
|
|
-t Also set the file timestamp in 'rename' action (overrides -k).
|
|
|
|
|
-T Only set the file timestamp in 'rename' action, do not rename
|
|
|
|
|
the file (overrides -k).
|
|
|
|
|
-f Do not prompt before overwriting existing files (force).
|
|
|
|
|
-F Do not prompt before renaming files (Force).
|
|
|
|
|
-a time Time adjustment in the format [-]HH[:MM[:SS]]. This option
|
|
|
|
|
is only used with the 'adjust' action.
|
|
|
|
|
-Y yrs Year adjustment with the 'adjust' action.
|
|
|
|
|
-O mon Month adjustment with the 'adjust' action.
|
|
|
|
|
-D day Day adjustment 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)
|
|
|
|
|
a : print Exif, IPTC and XMP metadata (shortcut for -Pkyct)
|
|
|
|
|
t : interpreted (translated) Exif data (-PEkyct)
|
|
|
|
|
v : plain Exif data values (-PExgnycv)
|
|
|
|
|
h : hexdump of the Exif data (-PExgnycsh)
|
|
|
|
|
i : IPTC data values (-PIkyct)
|
|
|
|
|
x : XMP properties (-PXkyct)
|
|
|
|
|
c : JPEG comment
|
|
|
|
|
p : list available previews
|
|
|
|
|
S : print structure of image
|
|
|
|
|
X : extract XMP from image
|
|
|
|
|
-P flgs Print flags for fine control of tag lists ('print' action):
|
|
|
|
|
E : include Exif tags in the list
|
|
|
|
|
I : IPTC datasets
|
|
|
|
|
X : XMP properties
|
|
|
|
|
x : print a column with the tag number
|
|
|
|
|
g : group name
|
|
|
|
|
k : key
|
|
|
|
|
l : tag label
|
|
|
|
|
n : tag name
|
|
|
|
|
y : type
|
|
|
|
|
c : number of components (count)
|
|
|
|
|
s : size in bytes
|
|
|
|
|
v : plain data value
|
|
|
|
|
t : interpreted (translated) data
|
|
|
|
|
h : hexdump of the data
|
|
|
|
|
-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
|
|
|
|
|
x : XMP packet
|
|
|
|
|
c : JPEG comment
|
|
|
|
|
-i tgt Insert target(s) for the 'insert' action. Possible targets are
|
|
|
|
|
the same as those for the -d option, plus a modifier:
|
|
|
|
|
X : Insert metadata from an XMP sidecar file <file>.xmp
|
|
|
|
|
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
|
|
|
|
|
are the same as those for the -d option, plus a target to extract
|
|
|
|
|
preview images and a modifier to generate an XMP sidecar file:
|
|
|
|
|
p[<n>[,<m> ...]] : Extract preview images.
|
|
|
|
|
X : Extract metadata to an XMP sidecar file <file>.xmp
|
|
|
|
|
-r fmt Filename format for the 'rename' action. The format string
|
|
|
|
|
follows strftime(3). The following keywords are supported:
|
|
|
|
|
:basename: - original filename without extension
|
|
|
|
|
:dirname: - name of the directory holding the original file
|
|
|
|
|
:parentname: - name of parent directory
|
|
|
|
|
Default filename format is %Y%m%d_%H%M%S.
|
|
|
|
|
-c txt JPEG comment string to set in the image.
|
|
|
|
|
-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 from or extracted to.
|
|
|
|
|
-S .suf Use suffix .suf for source files for insert command.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Adjust -------------------------------------------------------------------
|
|
|
|
|
File 1/15: exiv2-empty.jpg
|
|
|
|
|
exiv2-empty.jpg: No Exif data found in the file
|
|
|
|
|
File 2/15: exiv2-canon-powershot-s40.jpg
|
|
|
|
|
Adjusting `Exif.Image.DateTime' by -43261s to 2003:12:14 00:00:43
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeOriginal' by -43261s to 2003:12:14 00:00:43
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeDigitized' by -43261s to 2003:12:14 00:00:43
|
|
|
|
|
File 3/15: exiv2-nikon-e990.jpg
|
|
|
|
|
Adjusting `Exif.Image.DateTime' by -43261s to 2000:05:06 02:05:44
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeOriginal' by -43261s to 2000:05:06 02:05:44
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeDigitized' by -43261s to 2000:05:06 02:05:44
|
|
|
|
|
File 4/15: exiv2-nikon-d70.jpg
|
|
|
|
|
Adjusting `Exif.Image.DateTime' by -43261s to 2004:03:29 22:42:45
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeOriginal' by -43261s to 2004:03:29 22:42:45
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeDigitized' by -43261s to 2004:03:29 22:42:45
|
|
|
|
|
File 5/15: exiv2-nikon-e950.jpg
|
|
|
|
|
Adjusting `Exif.Image.DateTime' by -43261s to 2001:04:05 23:50:39
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeOriginal' by -43261s to 2001:04:05 23:50:39
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeDigitized' by -43261s to 2001:04:05 23:50:39
|
|
|
|
|
File 6/15: exiv2-canon-eos-300d.jpg
|
|
|
|
|
Adjusting `Exif.Image.DateTime' by -43261s to 2003:09:25 20:18:50
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeOriginal' by -43261s to 2003:09:25 20:18:50
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeDigitized' by -43261s to 2003:09:25 20:18:50
|
|
|
|
|
File 7/15: exiv2-kodak-dc210.jpg
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeOriginal' by -43261s to 2000:10:26 04:45:50
|
|
|
|
|
File 8/15: exiv2-fujifilm-finepix-s2pro.jpg
|
|
|
|
|
Adjusting `Exif.Image.DateTime' by -43261s to 2003:09:26 11:15:35
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeOriginal' by -43261s to 2003:09:26 11:15:35
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeDigitized' by -43261s to 2003:09:26 11:15:35
|
|
|
|
|
File 9/15: exiv2-sigma-d10.jpg
|
|
|
|
|
Adjusting `Exif.Image.DateTime' by -43261s to 2004:03:18 11:39:25
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeOriginal' by -43261s to 2004:03:16 07:51:37
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeDigitized' by -43261s to 2004:03:18 11:39:25
|
|
|
|
|
File 10/15: exiv2-olympus-c8080wz.jpg
|
|
|
|
|
Adjusting `Exif.Image.DateTime' by -43261s to 2004:02:08 09:37:44
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeOriginal' by -43261s to 2004:02:08 09:37:44
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeDigitized' by -43261s to 2004:02:08 09:37:44
|
|
|
|
|
File 11/15: exiv2-panasonic-dmc-fz5.jpg
|
|
|
|
|
Adjusting `Exif.Image.DateTime' by -43261s to 2005:02:18 21:20:16
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeOriginal' by -43261s to 2005:02:18 21:20:16
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeDigitized' by -43261s to 2005:02:18 21:20:16
|
|
|
|
|
File 12/15: exiv2-sony-dsc-w7.jpg
|
|
|
|
|
Adjusting `Exif.Image.DateTime' by -43261s to 2005:05:27 05:18:33
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeOriginal' by -43261s to 2005:05:27 05:18:33
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeDigitized' by -43261s to 2005:05:27 05:18:33
|
|
|
|
|
File 13/15: exiv2-canon-eos-20d.jpg
|
|
|
|
|
Warning: Directory Canon has an unexpected next pointer; ignored.
|
|
|
|
|
Adjusting `Exif.Image.DateTime' by -43261s to 2006:08:02 09:52:00
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeOriginal' by -43261s to 2006:08:02 09:52:00
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeDigitized' by -43261s to 2006:08:02 09:52:00
|
|
|
|
|
Warning: Directory Canon has an unexpected next pointer; ignored.
|
|
|
|
|
File 14/15: exiv2-canon-eos-d30.jpg
|
|
|
|
|
Adjusting `Exif.Image.DateTime' by -43261s to 2000:10:04 01:54:04
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeOriginal' by -43261s to 2000:10:04 01:54:04
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeDigitized' by -43261s to 2000:10:04 01:54:04
|
|
|
|
|
File 15/15: exiv2-canon-powershot-a520.jpg
|
|
|
|
|
Adjusting `Exif.Image.DateTime' by -43261s to 2006:01:27 22:50:27
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeOriginal' by -43261s to 2006:01:27 22:50:27
|
|
|
|
|
Adjusting `Exif.Photo.DateTimeDigitized' by -43261s to 2006:01:27 22:50:27
|
|
|
|
|
|
|
|
|
|
Rename -------------------------------------------------------------------
|
|
|
|
|
File 1/15: exiv2-empty.jpg
|
|
|
|
|
exiv2-empty.jpg: No Exif data found in the file
|
|
|
|
|
File 2/15: exiv2-canon-powershot-s40.jpg
|
|
|
|
|
Renaming file to ./20031214_000043.jpg
|
|
|
|
|
File 3/15: exiv2-nikon-e990.jpg
|
|
|
|
|
Renaming file to ./20000506_020544.jpg
|
|
|
|
|
File 4/15: exiv2-nikon-d70.jpg
|
|
|
|
|
Renaming file to ./20040329_224245.jpg
|
|
|
|
|
File 5/15: exiv2-nikon-e950.jpg
|
|
|
|
|
Renaming file to ./20010405_235039.jpg
|
|
|
|
|
File 6/15: exiv2-canon-eos-300d.jpg
|
|
|
|
|
Renaming file to ./20030925_201850.jpg
|
|
|
|
|
File 7/15: exiv2-kodak-dc210.jpg
|
|
|
|
|
Renaming file to ./20001026_044550.jpg
|
|
|
|
|
File 8/15: exiv2-fujifilm-finepix-s2pro.jpg
|
|
|
|
|
Renaming file to ./20030926_111535.jpg
|
|
|
|
|
File 9/15: exiv2-sigma-d10.jpg
|
|
|
|
|
Renaming file to ./20040316_075137.jpg
|
|
|
|
|
File 10/15: exiv2-olympus-c8080wz.jpg
|
|
|
|
|
Renaming file to ./20040208_093744.jpg
|
|
|
|
|
File 11/15: exiv2-panasonic-dmc-fz5.jpg
|
|
|
|
|
Renaming file to ./20050218_212016.jpg
|
|
|
|
|
File 12/15: exiv2-sony-dsc-w7.jpg
|
|
|
|
|
Renaming file to ./20050527_051833.jpg
|
|
|
|
|
File 13/15: exiv2-canon-eos-20d.jpg
|
|
|
|
|
Warning: Directory Canon has an unexpected next pointer; ignored.
|
|
|
|
|
Renaming file to ./20060802_095200.jpg
|
|
|
|
|
File 14/15: exiv2-canon-eos-d30.jpg
|
|
|
|
|
Renaming file to ./20001004_015404.jpg
|
|
|
|
|
File 15/15: exiv2-canon-powershot-a520.jpg
|
|
|
|
|
Renaming file to ./20060127_225027.jpg
|
|
|
|
|
|
|
|
|
|
Print --------------------------------------------------------------------
|
|
|
|
|
File 1/15: exiv2-empty.jpg
|
|
|
|
|
exiv2-empty.jpg File name : exiv2-empty.jpg
|
|
|
|
|
exiv2-empty.jpg File size : 4745 Bytes
|
|
|
|
|
exiv2-empty.jpg MIME type : image/jpeg
|
|
|
|
|
exiv2-empty.jpg Image size : 150 x 91
|
|
|
|
|
exiv2-empty.jpg: No Exif data found in the file
|
|
|
|
|
File 2/15: 20031214_000043.jpg
|
|
|
|
|
20031214_000043.jpg File name : 20031214_000043.jpg
|
|
|
|
|
20031214_000043.jpg File size : 12425 Bytes
|
|
|
|
|
20031214_000043.jpg MIME type : image/jpeg
|
|
|
|
|
20031214_000043.jpg Image size : 150 x 91
|
|
|
|
|
20031214_000043.jpg Camera make : Canon
|
|
|
|
|
20031214_000043.jpg Camera model : Canon PowerShot S40
|
|
|
|
|
20031214_000043.jpg Image timestamp : 2003:12:14 00:00:43
|
|
|
|
|
20031214_000043.jpg Image number : 117-1771
|
|
|
|
|
20031214_000043.jpg Exposure time : 1/500 s
|
|
|
|
|
20031214_000043.jpg Aperture : F4.9
|
|
|
|
|
20031214_000043.jpg Exposure bias : 0 EV
|
|
|
|
|
20031214_000043.jpg Flash : No, auto
|
|
|
|
|
20031214_000043.jpg Flash bias : 0 EV
|
|
|
|
|
20031214_000043.jpg Focal length : 21.3 mm
|
|
|
|
|
20031214_000043.jpg Subject distance: 7.82 m
|
|
|
|
|
20031214_000043.jpg ISO speed : 100
|
|
|
|
|
20031214_000043.jpg Exposure mode : Program (P)
|
|
|
|
|
20031214_000043.jpg Metering mode : Center weighted average
|
|
|
|
|
20031214_000043.jpg Macro mode : Off
|
|
|
|
|
20031214_000043.jpg Image quality : Superfine
|
|
|
|
|
20031214_000043.jpg Exif Resolution : 2272 x 1704
|
|
|
|
|
20031214_000043.jpg White balance : Auto
|
|
|
|
|
20031214_000043.jpg Thumbnail : image/jpeg, 5448 Bytes
|
|
|
|
|
20031214_000043.jpg Copyright :
|
|
|
|
|
20031214_000043.jpg Exif comment : |