Renaming GPX files possible?

Started by Beholder3, February 22, 2024, 03:53:33 AM

Previous topic - Next topic

Beholder3

I do have a bunch of GPS track files in the ".gpx" file format with cryptic names, such as "16464g.gpx". I use these files to geotag photos using exiftoolgui.

I wonder if anyone knows of any way to automatically rename the gpx files based on their metadata content.
In my theory the goal would be rather simple:
"date - country - number increment.gpx"
where date and country are taken from the very first datapoint in the file.




Phil Harvey

1. Run exiftool -s on the file to see what tag names are available.

2. Use the appropriate tag(s) to rename the file just like any other file type.

- 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 ($).