t42, actually I have very little understanding at all of terminal commands. Since my mistyped command clearly ignored file.name, it seemed superfluous, so I tried it again omitting that detail.
Thank you for supplying the command. That's really useful.
Guessing from what you supplied, I tried
Code: Select all
exiftool -createdate -datetimeoriginal *
which resulted either in identical values for both 'Create Date' and 'Date/Time Original', or only a value for 'Create Date'.
======== AAA.JPG
Create Date : 2019:12:10 20:22:42
Date/Time Original : 2019:12:10 20:22:42
======== BBB.JPG
Create Date : 2020:10:12 09:37:50
Date/Time Original : : : : :
Might 'Create Date' and 'Date/Time Original' ever return different values? What I am after is the date that the photograph was taken, using images taken on my own cameras (Nikon and Sony). Recently I've been checking the values returned by Date/Time Original against known days that certain photographs were taken, and that's exactly what it seems to return consistently.
Linux Mint 21.2 Cinnamon. 15.6 GiB. 1001.3 GB. Lenovo Thinkpad.