How to show all images in a dir (tree) which contain (no) GPSlocation inside?

Started by pstein, July 16, 2020, 08:04:05 AM

Previous topic - Next topic

pstein

Assume I have a directory tree with lots of *.jpg images inside.

Is there a way to let exiftool to scan over the directory (tree) and show all images which contain a GPSlocation or in contrast which do NOT contain a GPSlocation information (GPSlongitude+GPSlatitude) in their EXIF header?

Thank you
Peter

Phil Harvey

Hi Peter,

Maybe try something like this...

exiftool -filepath -s3 -if "not $gpslatitude or not $gpslongitude" -r DIR

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).