set all images to the same date/time

Started by uelias, December 03, 2016, 09:31:24 AM

Previous topic - Next topic

uelias

My problem is related to   https://exiftool.org/forum/index.php?topic=5621.0

I execute    exiftool -datetimeoriginal="2016:08:01 08:00:00" -ext jpg    "Mydir"
In part of the photos the hour in  date/time original  becomes  08:00:00  as required but in
other files I get  10:00:00
The first case happens mainly for  Canon PowerShot S1 IS photos and computer-made files.
The second case happens for  Canon PowerShot SX50 HS, SX600 HS and Canon PowerShot S5 IS
cameras. (Perhaps manual editing changes this rule.)
Maybe this is related to being in GMT+2 timezone? 

How can I overcome this problem?

Phil Harvey

This may be FAQ 3.  What is the output of this command for a file that didn't work?:

exiftool -datetimeoriginal -a -G1 FILE

Also, are there any warnings when the file is written?

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

uelias

#2
For all files:      Warning: [minor] Canon maker note footer may be invalid (ignored)

Output of command      exiftool -datetimeoriginal -a -G1 FILE    is
[ExifIFD]       Date/Time Original              : 2010:09:20 08:00:00
[XMP-exif]      Date/Time Original              : 2010:09:20 08:00:00

I look at date/timeoriginal with acdsee  and I see time  10:00:00

After changing  date/time with  AcdSee   the output becomes
[ExifIFD]       Date/Time Original              : 2016:09:20 20:00:00
[XMP-exif]      Date/Time Original              : 2016:09:20 20:00:00.0+2:00

Perhaps the  +2:00  in the end causes the problem.  But I still need help and solution.


Phil Harvey

It seems that ACDSee isn't looking at DateTimeOriginal then.  Try this:

exiftool -a -s -G1 -time:all FILE

one of these must be the one that ACDSee is using.  You can change them one at a time until you find out which one it is.

I don't think the time zone is part of the problem.

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

uelias

> exiftool -a -s -G1 -time:all  MYFILE
[System]        FileModifyDate                  : 2016:12:03 18:07:29+02:00
[System]        FileAccessDate                  : 2016:12:03 18:07:29+02:00
[System]        FileCreateDate                  : 2016:12:03 17:16:18+02:00
[IFD0]            ModifyDate                        : 2016:05:04 14:46:53
[ExifIFD]        DateTimeOriginal                : 2016:09:20 20:00:00    <----
[ExifIFD]        CreateDate                        : 2016:05:04 14:46:53
[Canon]         TimeZone                          : +02:00
[Canon]         TimeZoneCity                    : (not set)
[Canon]         DaylightSavings                 : Off
[ExifIFD]       SubSecTime                      : 0
[ExifIFD]       SubSecTimeOriginal              : 0
[ExifIFD]       SubSecTimeDigitized             : 0
[XMP-exif]      DateTimeDigitized               : 2016:05:04 14:46:53.0+2:00
[XMP-exif]      DateTimeOriginal                : 2016:09:20 20:00:00.0+2:00   <----
[XMP-xmp]       ModifyDate                      : 2016:05:04 14:46:53.0+2:00
[Composite]     SubSecCreateDate                : 2016:05:04 14:46:53.0
[Composite]     SubSecDateTimeOriginal          : 2016:09:20 20:00:00.0   <----
[Composite]     SubSecModifyDate                : 2016:05:04 14:46:53.0

I shall make more experiments.   The truth is that I dont care what is seen on my PC, I need
to know what  GOOGLE PHOTOS  reads from the uploaded file, because it orders photos according
to one of these  datetimeoriginal-s.

Thank you for your prompt help.

Alan Clifford

Looks to me as if you are changing the date to 8 pm in ACDSee.

uelias

I run the commands
exiftool -datetimeoriginal="2016:08:01 08:00:00" -ext jpg  DIR    and
exiftool "-datetimeoriginal+<0:${filesequence}0:0" -ext jpg   DIR

Through XnviewMP I get, correctly,  Exif --> Image --> Date Taken --> 08:00, 08:10, 08:20, etc
Through AcdSee  I get     Exif --> Image --> Date/time original --> 08:00, 10:10, 08:20, and so on, which is wrong!
After uploading to Google photos I see again the expected correct times   08:00, 08:10, 08:20, ...

Looks that this is not a problem of Exiftool, but a wrong use of AcdSee.

Thank you for the help.