ExifTool Forum

General => Metadata => Topic started by: captainbogart on March 10, 2018, 08:37:52 PM

Title: Search folder for photos in a gps coordinate range
Post by: captainbogart on March 10, 2018, 08:37:52 PM
 :D
Is there a way to search a huge folder for photos in a gps coordinate range and then copy those photos to a new folder?
Like everything between a north/west through south/east coordinates.  Am I asking for too much?   :D :D
The folder has every photo I've taken with my iPhones for the last 6 or 7 years and I want to copy all of the photos
taken in a certain area of town.
Thank you for any help.

Chris
Title: Re: Search folder for photos in a gps coordinate range
Post by: Phil Harvey on March 10, 2018, 09:37:24 PM
exiftool -n -if "$gpslatitude>10 and $gpslatitude<12 and $gpslongitude ..." -directory=newdir -o . -r DIR

The -o . is necessary for the file to be copied instead of moved.

- Phil
Title: Re: Search folder for photos in a gps coordinate range
Post by: captainbogart on March 10, 2018, 11:43:39 PM
That did the trick!  Now I just need to nail down the exact coordinates I'm looking for.
Thank you!
-Chris