Can I export tags for all images in a directory to a spreadsheet?

Started by lstomsl, April 25, 2011, 03:35:05 PM

Previous topic - Next topic

lstomsl

What I want seems pretty simple but I can't seem to find it anywhere or perhaps not sure of the lingo to use.

I want to be able to download photos into a directory, and then create a spreadsheet or even a text file that contains the name of the jpg file and its latitude and longitude and/or other EXIF data.  Can EXIFtools do this now?  If so how?

Phil Harvey

Yes.  The question is: what format text file do you want?

Simple csv would look like this:

exiftool -csv -filename -gpslatitude -gpslongitude DIR > out.csv

This command creates a file called "out.csv" with the information you wanted from all images in directory "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 ($).