.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.THEXIV21"Oct 19, 2016"
.THEXIV21"Oct 26, 2018"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
@ -599,6 +599,36 @@ Empty lines and lines starting with \fB#\fP in a command file are
ignored (comments). Remaining lines are commands as described above.
.br
.ne40
.SHCONFIGURATIONFILE
Exiv2 can read an optional configuration file ~/.exiv2 on Unix systems and %USERPROFILE%\\exiv2.ini on Windows (using a Visual Studio build). Cygwin and MinGW/msys2 follow the unix convention and use ~/.exiv2 You can fine the location of the configuration file with the command:
.br
.sp1
.nf
$ exiv2 --verbose --version --grep config_path
exiv2 0.27.0.1
config_path=/Users/rmills/.exiv2
.fi
.sp1
The purpose of the configuration file is to define your own lenses for recognition by Exiv2. The configuration file is in Windows .ini format and has sections for each of the major camera manufactures canon,nikon,pentax,minolta,olympus and sony. The lens metadata is stored as a integer called the lensID. You can change the lens name associated with any lensID.
.br
.sp1
.nf
$ cat ~/.exiv2
[nikon]
146=Robin's Sigma Lens <--- The name of your lens
.fi
.sp1
You obtain the lensID for your camera with the command:
0x000c NikonLd3 LensIDNumber Byte 1 146 <--- This number
0x000d NikonLd3 LensFStops Byte 1 55
.br
.ne40
.SHEXAMPLES
.TP
exiv2 *.jpg
@ -654,13 +684,13 @@ requirements of the target format. Some tags copied like this may not
make sense in the target image.
.SHSEEALSO
.TP
.Ihttp://www.exiv2.org/sample.html#modify
.Ihttp://exiv2.dyndns.org/sample.html#modify
Sample command files.
.TP
.Ihttp://www.exiv2.org/metadata.html
.Ihttp://exiv2.dyndns.org/metadata.html
Taglists with \fIkey\fP and default \fItype\fP values.
.SHAUTHORS
.Bexiv2
was written by Andreas Huggel and others. The Exiv2 project web site is http://exiv2.org
was written by Andreas Huggel and others. The Exiv2 project web site is http://exiv2.dyndns.org. The code is hosted on GitHub at https://github.com/exiv2/exiv2
.PP
This manual page was originally created for the Debian project by KELEMEN Peter <fuji@debian.org>.