Geotag photos using tracks from
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Geotag photos using

Shell script to geotag photos from your GPS-less camera using the track automatically logged by the Moves app for iOS and Android.

The Moves app logs all your movements automatically, 24/7. This script is built on the premise that wherever you make photos, you also have your phone with you, and the movement track from your phone matches the positions of your photos. For me personally, this is much simpler than running a gps tracker specifically at shooting time (because it's often spontaneous.)


You need to be using Moves and authorize the third-party Moves Export web app using your Moves account. (Check it out, it has many cool features besides track export.)

You'll need exiftool and jq. On Mac, they are available from Homebrew:

brew install exiftool jq 

Then obtain from this repo. (Oh, you'll also need Bash. But hey - in our time it's even shipped with Windows 10!)

chmod +x


  1. Optionally mount your SD card.

  2. Run the script:

    ./ /path/to/your/photos
  3. It'll prompt you to download a track file for each of the days you have been shooting at. All non-geotagged photos in the directory are inspected.

  4. Once you've downloaded the tracks, hit ENTER and your photos will be geotagged.

  5. Done. Now you can import the photos into your photo management solution.

Made by Leonid Shevtsov