ExifTool Forum

ExifTool => Newbies => Topic started by: drwood187 on April 22, 2015, 11:49:04 AM

Title: extract date to txt.file
Post by: drwood187 on April 22, 2015, 11:49:04 AM
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




Title: Re: extract date to txt.file
Post by: Phil Harvey on April 22, 2015, 12:33:34 PM
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
Title: Re: extract date to txt.file
Post by: Alan Clifford on April 22, 2015, 03:23:34 PM
I suspect he'd like the filenames as well.

edit

Oh, I see that command does it.
Title: Re: extract date to txt.file
Post by: Phil Harvey on April 22, 2015, 07:46:59 PM
Yes.  But I didn't answer the question about Windows/Linux.  The command will work in either.

- Phil