Can't change TImeTaken in Scans of Slides by Noritsu Koki

Started by ceej, January 18, 2023, 01:52:02 PM

Previous topic - Next topic

ceej

I had several thousand slides scanned by a company.  The metadata in the jpg file shows Camera Maker: Noritsu Koki and the Camera model: EZ Controller.
I have used the following command many times with success to zap the time component of the DateTaken field in jpg files from my camera or from my Epson V600 scanner.
exiftool -overwrite_original -DateTimeOriginal"<${DateTimeOriginal;s/ .*//}000000" .
However, when I use this command on a folder with the scanned slides, the command says it ran correctly (reports no errors), but no file times actually get changed.
But, if I use Win 10 File Explorer in View Details mode and edit the Date Taken (e.g. change the day from 5 to 6), then the command works on that file!
I have attached an un-changed jpg file of a scanned slide.
Any suggestions on what might be going on?
Or what I might do so as not to have to manually change each of these thousands of files?
Is there an exiftool command that could 'touch' the DateTaken in some way (i.e. re-write the existing value)?
Thanks.

Note - I follow the zero-time command with this one:
exiftool -overwrite_original -fileOrder FileName "-DateTimeOriginal+<0:0:${filesequence}0" *.jpg

I have many instances in which DateTime values are the same and the photos are displayed out of order.  And, yes, I am anal. 

SC_0017-0017.jpg

StarGeek

Quote from: ceej on January 18, 2023, 01:52:02 PMHowever, when I use this command on a folder with the scanned slides, the command says it ran correctly (reports no errors), but no file times actually get changed.

What are you using to check if the time is changed?  If it is not exiftool, then this would be FAQ #3.  You need to use that command to figure out what tags you need to write.

Looking at your example file, there isn't any value in the EXIF:DateTimeOriginal or EXIF:CreateDate, only 19 spaces.  So the command you list isn't going to work, since there isn't any value there to begin with.

You'll need to set a default value for DateTimeOriginal.  Then you can run your second command to increment the time stamps.

C:\>exiftool -time:all --system:all -G1 -a -s Y:\!temp\dd\SC_0017-0017.jpg
[IFD0]          ModifyDate                      : 2017:09:27 14:47:27
[ExifIFD]       DateTimeOriginal                :
[ExifIFD]       CreateDate                      :
[XMP-exif]      DateTimeDigitized               :
[XMP-exif]      DateTimeOriginal                : 0000:00
[XMP-xmp]       CreateDate                      : 2017:09:05 15:30:04+05:30
[XMP-xmp]       MetadataDate                    : 2017:09:27 14:47:27+05:30
[XMP-xmp]       ModifyDate                      : 2017:09:27 14:47:27+05:30
[ICC-header]    ProfileDateTime                 : 1998:02:09 06:49:00
"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

ceej

Thank you.  I made a bad assumption - one which I thought I had tested some time ago.  On Win 10 using file explorer in View Details mode, DateTaken is shown with a value.  I believed that value to be true.  I thought that if there were no DateTaken value, that field would be blank/empty.  I thought that I had checked that.

I selected a different file.  When viewed in File Explorer it shows: Date taken: 9/4/2017 1:44 PM
When I use exiftool -a -G1 -s SC_2976-3000.jpg I see this:
[ExifTool]      ExifToolVersion                : 12.01
[System]        FileName                        : SC_2976-3000.jpg
[System]        Directory                      : .
[System]        FileSize                        : 4.5 MB
[System]        FileModifyDate                  : 2017:09:22 20:22:00-07:00
[System]        FileAccessDate                  : 2023:01:23 12:20:19-08:00
[System]        FileCreateDate                  : 2018:01:04 17:02:54-08:00
[...]
[ExifIFD]      ExifVersion                    : 0220
[ExifIFD]      DateTimeOriginal                :
[ExifIFD]      CreateDate                      :
[ExifIFD]      ComponentsConfiguration        : Y, Cb, Cr, -
[ExifIFD]      FlashpixVersion                : 0100
[ExifIFD]      ColorSpace                      : sRGB
[ExifIFD]      ExifImageWidth                  : 3735
[ExifIFD]      ExifImageHeight                : 2484

Not only is the DateTaken field empty, *but* I see NO DATE TIME VALUE in the exiftool output that matches what File Explorer is displaying!  Where could it have come from?

So I understand the problem and why my original fix did not work on these files.
I will set a datetaken with time 00:00; then use my second command to insure they are time-ordered to match filename-order.

When I have time, I will see if I can scan something on my V600 (or find an existing, non-slide image) without a DateTaken value, then see what File Explorer shows.

Thanks for your help.

StarGeek

The names displayed in Windows properties are not tag names.  There's no such thing as a "Date Taken" tag.

In the case of "Date Taken", Windows will read 6 different tags and choose one of them to display.  See this post for all the tags Windows will read and the properties they fill with that data.
"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