Missing data

Started by gcotterl, September 24, 2017, 12:58:26 AM

Previous topic - Next topic

gcotterl

If the image-file doesn't have one (or more) of the tags, what does the field on the ouput file contain?

DateTaken
FileModifyDate
FileAccessDate
FileCreateDate
ModifyDate
CreateDate

StarGeek

Assuming you're referring to your previous post about csv files.

If none of the files have the tag, then no column containing that tag is created.  If some of the files have the tag, but not others, then there is a column for that tag but the cell is left empty for files that don't have that tag.

One thing that needs to be pointed out is that there is no such thing as a DateTaken tag.  That is a Windows Property and it is filled from a variety of tags, depending upon what is available.  See this post for what tags Windows uses to fill various properties.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

gcotterl

Why isn't -f causing a dash (-) to be written to the output record if the tag has no data?

StarGeek

What is your exact command?

My test here shows that it works.
C:\>exiftool -f -csv -MadeUpTagName y:\X_Drive\!temp\Test3.jpg 
SourceFile,MadeUpTagName
y:/X_Drive/!temp/Test3.jpg,-
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

gcotterl

exiftool -csv -filepath -T -f -r -ext jpg -ext jpeg -ext png -datetimeoriginal -DateTaken -FileModifyDate -FileAccessDate -FileCreateDate -ModifyDate -CreateDate -model -filesize -imagesize -megapixels . > newjpg.txt

StarGeek

Can you show a few lines of the CSV where this happens?  The output here is correct, with non-existent tags (such as DateTaken) filled with hyphens.

Please re-read the third paragraph of my first post in the is thread.  DateTake isn't a tag, it's a property of Windows and is filled from a variety of tags.

What version of exiftool are you using?  Type exiftool -ver to find out.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype