ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: blacklion on January 24, 2020, 07:46:15 AM

Title: How to geotag RAWs into XMP sidecars (and create these sidecaras in process)?
Post by: blacklion on January 24, 2020, 07:46:15 AM
I have a lot of RAF (Fuji) files and some GPX files. I want to geotag these RAF files, but I don't want to write into RAF files themselves, I want to create sidecar XMP files with these GPS tags. I'm trying:
exiftool -geotag "/usr/home/lev/gps/*.gpx" '-xmp:geotime<${DateTimeOriginal}+07:00' *.RAF
But this command changes RAF files themselves.
And
exiftool -xmp:geotag "/usr/home/lev/gps/*.gpx" '-xmp:geotime<${DateTimeOriginal}+07:00' *.RAF
shows error:
Ignored superfluous tag name or invalid option: -xmp:geotag
How could I geotag these images into XMP sidecars?
Title: Re: How to geotag RAWs into XMP sidecars (and create these sidecaras in process)?
Post by: StarGeek on January 24, 2020, 10:47:02 AM
Try this (take note of the dot on the end to indicate the current directory):
exiftool -geotag "/usr/home/lev/gps/*.gpx" -ext RAF -o %d%f.xmp .