Querying many files for missing tags

Started by Archive, May 12, 2010, 08:54:20 AM

Previous topic - Next topic

Archive

[Originally posted by msbc on 2008-04-17 10:55:48-07]

Hi,

I'm hoping someone can help me build an exiftool command to do the following:

In a folder of many Canon CR2 files print out the filename for those files that DON'T have GPS co-ordinate tags.

I'm using ImageInjesterPro to copy my images from my CF card and add GPS data from a track file. The problem is that IIP only reports the number of images that were geo-tagged and doesn't provide a list of the files that weren't. So, with a few hundred images it's very tedious to check which ones have the GPS tags. I'd like to be able to tell exiftool to look at all images in a folder and tell me which ones are missing the GPS tags.

Thanks,

Mark

Archive

[Originally posted by exiftool on 2008-04-17 11:13:26-07]

Code:
exiftool -T -filename -if "not $GPSVersionID" DIR

Archive

[Originally posted by msbc on 2008-04-17 11:31:30-07]

While that looks like it should work, my testing resulted in it not working. Using ver 7.23 I tried it on folders of images with and without GPS tags and in both cases no filenames were printed.

- Mark

Archive

[Originally posted by exiftool on 2008-04-17 11:37:22-07]

Hi Mark.  You're running in Windows, right?  If not, use single quotes.

It works for me here.  Add a -r option if you want to
recurse into subdirectories.

- Phil

Archive

[Originally posted by msbc on 2008-04-17 11:44:11-07]

Phil,

Running on OS X - using single quotes worked!

Many thanks,

Mark

Archive

[Originally posted by msbc on 2008-04-17 12:00:43-07]

While that looks like it should work, my testing resulted in it not working. Using ver 7.23 I tried it on folders of images with and without GPS tags and in both cases no filenames were printed.

- Mark

Archive

[Originally posted by exiftool on 2008-04-17 16:37:15-07]

I'll guess that you posted the last two messages from different systems.
Is the double post from a Mac or a PC, and what web browser?  I haven't
had the double post problem myself at all when running Safari on OS X.

- Phil

Archive

[Originally posted by msbc on 2008-04-18 00:16:00-07]

Phil, posted from Safari on my Mac - both from the same system.