Thread

Posted on Thu Apr 17 13:55:48 2008 by msbc
Querying many files for missing tags
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
Direct Responses: 7695 | Write a response
Posted on Thu Apr 17 14:13:26 2008 by exiftool in response to 7692
Re: Querying many files for missing tags
exiftool -T -filename -if "not $GPSVersionID" DIR
Direct Responses: 7696 | 7699 | Write a response
Posted on Thu Apr 17 14:31:30 2008 by msbc in response to 7695
Re: Querying many files for missing tags
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
Direct Responses: 7697 | Write a response
Posted on Thu Apr 17 14:37:22 2008 by exiftool in response to 7696
Re: Querying many files for missing tags
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
Direct Responses: 7698 | Write a response
Posted on Thu Apr 17 14:44:11 2008 by msbc in response to 7697
Re: Querying many files for missing tags
Phil,

Running on OS X - using single quotes worked!

Many thanks,
Mark
Write a response
Posted on Thu Apr 17 15:00:43 2008 by msbc in response to 7695
Re: Querying many files for missing tags
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
Direct Responses: 7700 | Write a response
Posted on Thu Apr 17 19:37:15 2008 by exiftool in response to 7699
Re: Querying many files for missing tags
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
Direct Responses: 7702 | Write a response
Posted on Fri Apr 18 03:16:00 2008 by msbc in response to 7700
Re: Querying many files for missing tags
Phil, posted from Safari on my Mac - both from the same system.
Write a response