Skip to content

rename and tag your jpeg photos by defining your own naming schema

License

Notifications You must be signed in to change notification settings

fhoner/exifrename

Repository files navigation

Exifrename build status

Rename and tag your JPEG files by defining your own filename pattern based on exif metadata:

  • translates gps coordinates to address information
  • writes geo metadata in IPTC and XMP
  • renames your files based on your custom naming schema

Sample

Pattern:
           %y-%m-%d - My fantastic Tour - %t, %C
Before:
           DCIM_471100.jpg
After:
           2018-09-22 - My fantastic Tour - Stuttgart, Germany.jpg

UI

Scheme

Scheme

Tags

Scheme
(tags after running, showed by GIMP)

Requirements

Installed Java 8 Runtime. Runs on

  • Windows
  • Linux
  • macOS

Notes

Geo

For getting address information from gps location (so called reverse geocoding) the OpenStreetMap API is used. As it is for free we don't want to flood their servers, so we built in a limit of one request per second just how it is recommended by OSM.

Relies on

Metadata

Your Metadata might be overwritten! Please make sure everything is going on correctly instead of relying on correctness of this tool. Following tags will be (over)written by default:

Type Tag Action
IPTC copyright notice written
IPTC location name written
IPTC city written
IPTC province state written
IPTC country code written
IPTC country name written
XMP NS_DC/subject removed
XMP NS_IPTCCORE/CountryCode written
XMP NS_IPTCCORE/Location written
XMP NS_PHOTOSHOP/City written
XMP NS_PHOTOSHOP/Country written
XMP NS_PHOTOSHOP/State written

Build

Run build with tests

./gradlew build

Build cross-platform fat jar

./gradlew jar