Filename into FMT file

Started by roze, October 16, 2022, 09:32:41 PM

Previous topic - Next topic

roze

I'd like to ask for advice...
I am able to generate a GPX file from geotagged photos.
I have already modified the FMT file slightly, but I still need to insert the names of the source JPG files into the GPX. How to do this please?

Phil Harvey

Using $filename in the FMT file will give you the filename (including extension).

You can use the name of any tag returned by ExifTool in the FMT file like this.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).