Extract GPS coordinates for all pictures redux

Started by clubside, July 19, 2020, 05:14:39 PM

Previous topic - Next topic

clubside

Howdy!

This topic was a great primer for what I was hoping to do:

https://exiftool.org/forum/index.php?topic=3075.0

However I'm hoping for a tweak if possible.

This is the command I'm using currently:

exiftool -filename -directory -gpslatitude -gpslongitude -n -json -q DIR

The thing I'm looking to change from that output: suppress images without GPS coordinates. Right now it's easy enough to loop through the results and skip the files without  the GPS information but obviously would be faster to offload that to the dataset construction.

Any help is greatly appreciated!
Chris

StarGeek

Use the -if option as described in this post.  If your using Windows CMD, change the single quotes to double quotes.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype