With the
ExifTool commands, you can do much things, which are not directly supported
from GeoSetter. Here you will find some (hopefully useful) examples. When you
have problems, mostly it helps to have a look into the help of ExifTool: http://www.sno.phy.queensu.ca/~phil/exiftool/exiftool_pod.html
You should
see these examples as a challenge. All these examples where successfully testedy.
Depending on your pictures, there could be certainly warnings and error
messages with these tested examples. It is advisable, to make the first trials
with test pictures.
If you
adjust these examples to your requirements, you should know, that it takes some
time to understand the command line of ExifTool and that you need the adequate
understanding.
Examples:
The caption
of the picture will be written into the JPEG comment:
-execute -Comment<$IPTC:Caption-Abstract
The name of
the city and the caption of the picture will be written into the Exif
UserComment:
-execute -UserComment<"$IPTC:City
$IPTC:Caption-Abstract"
The name of
the city and the caption of the picture will be written with a linefeed into
the Exif UserComment:
-execute -UserComment<"$IPTC:City
$IPTC:Caption-Abstract"
or
-execute
-UserComment<"$IPTC:City$/$IPTC:Caption-Abstract"
The caption
of the picture will be written into the Exif UserComment, if the caption of the
picture is not empty:
-execute -UserComment<$IPTC:Caption-Abstract
-if $IPTC:Caption-Abstract
The caption
of the picture will be written into the Exif UserComment, if the Exif
UserComment is empty:
-execute
-UserComment<$IPTC:Caption-Abstract -if "not $UserComment"
The name of
the country will be added to the IPTC and XMP keyword list, if the name of the
country does not already exists in the IPTC keywords:
-execute
"-IPTC:Keywords+<$IPTC:Country-PrimaryLocationName"
"-XMP:Subject+<$IPTC:Country-PrimaryLocationName" -if "not
$IPTC:Keywords=~/$IPTC:Country-PrimaryLocationName/"
The name of
the state will be added to the IPTC and XMP keyword list, if the name of the
state does not already exists in the IPTC keywords:
-execute
"-IPTC:Keywords+<$IPTC:Province-State"
"-XMP:Subject+<$IPTC:Province-State" -if "not $IPTC:Keywords=~/$IPTC:Province-State/"
The name of
the city will be added to the IPTC and XMP keyword list, if the name of the
city does not already exists in the IPTC keywords:
-execute
"-IPTC:Keywords+<$IPTC:City" "-XMP:Subject+<$IPTC:City"
-if "not $IPTC:Keywords=~/$IPTC:City/"
The name of
the sublocation will be added to the IPTC and XMP keyword list, if the name of
the sublocation does not already exists in IPTC keywords:
-execute
"-IPTC:Keywords+<$IPTC:Sub-Location" "-XMP:Subject+<$IPTC:Sub-Location"
-if "not $IPTC:Keywords=~/$IPTC:Sub-Location/"
The name of
the country, the name of the state, the name of the city and the name of the
sublocation will be added to the IPTC and XMP keyword list, if these names does
not already exists in the IPTC keywords:
-execute
"-IPTC:Keywords+<$IPTC:Country-PrimaryLocationName"
"-XMP:Subject+<$IPTC:Country-PrimaryLocationName" -if "not
$IPTC:Keywords=~/$IPTC:Country-PrimaryLocationName/" -execute
"-IPTC:Keywords+<$IPTC:Province-State"
"-XMP:Subject+<$IPTC:Province-State" -if "not
$IPTC:Keywords=~/$IPTC:Province-State/" -execute
"-IPTC:Keywords+<$IPTC:City" "-XMP:Subject+<$IPTC:City"
-if "not $IPTC:Keywords=~/$IPTC:City/" -execute
"-IPTC:Keywords+<$IPTC:Sub-Location" "-XMP:Subject+<$IPTC:Sub-Location"
-if "not $IPTC:Keywords=~/$IPTC:Sub-Location/"
The name of
the city will be deleted from the IPTC and XMP keyword list (call before
GeoSetter). Afterwards the name of the city will be written again into the IPTC
and XMP keyword list, if the city does not already exists in the IPTC keywords
(call after GeoSetter).
This call
only makes sense, if you change the name of the city. The old name of the city
will be deleted from the IPTC and XMP keyword list, and the new name will be
added.
before GeoSetter:
"-Keywords-<$IPTC:City"
"-XMP:Subject-<$IPTC:City"
after GeoSetter:
-execute "-Keywords+<$IPTC:City"
"-XMP:Subject+<IPTC:City" -if "not
$IPTC:Keywords=~/$IPTC:City/"