extract date to txt.file

Started by drwood187, April 22, 2015, 11:49:04 AM

Previous topic - Next topic

drwood187

hello my friends,

i need to extract dates (from the exif-metadata) of a huge amount of pictures.
i want only the date and all the dates need to be in one txt-file. (afterwards i want to insert them into an excel-file.)

i have not been able to figuere out how to do this with exiftool.(but i only used the exiftool-GUI).
is it possible under windows or do i need to run exiftool under linux?

please excuse my bad english.

thx a lot 

drWood





Phil Harvey

This is easy.  If you just want the DateTimeOriginal, a command like this may do what you want:

exiftool -csv -datetimeoriginal -r DIR > out.csv

The output file will be comma-separated text format.

- 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 ($).

Alan Clifford

I suspect he'd like the filenames as well.

edit

Oh, I see that command does it.

Phil Harvey

Yes.  But I didn't answer the question about Windows/Linux.  The command will work in either.

- 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 ($).