ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Beholder3 on February 22, 2024, 03:53:33 AM

Title: Renaming GPX files possible?
Post by: Beholder3 on February 22, 2024, 03:53:33 AM
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.



Title: Re: Renaming GPX files possible?
Post by: Phil Harvey on February 22, 2024, 06:42:18 AM
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