Some images don't have DTO and 4 do out of all 8k images, need help.

Started by Karadas89, December 03, 2024, 06:50:28 PM

Previous topic - Next topic

Karadas89

(This is my 1st post and I'm running on lack of sleep due to these issues with my ohoto's so bear with me)

Recently got a new phone and like any other phone problem when moving photo's they never keep the same date when moving to phone-> PC-> SD card/Phone, had to zip 3 big photo albums just to preserve said dates when transferring to PC. So I dabbled with ExifTool GUI once years ago but never got the hang of it, but seeing some previous post in this forum at least got me to fix dates for created and modified.

Yet even when I transfer them to my SD card they revert back to scrambled dates when using any gallery app besides Simple Gallery which is neat but rather use what I have built in.

I realize though that I have 4 images that seem to be retaining their dates and when I double checked the folder I used with ExifTool GUI those 4 have DateTime Original filled out (1st Image), while I have the other 8k images with nothing filled (2nd Image).

Is there any way to mask bulk add in DateTimeOriginal dates according to w/e I have in date modified or created? As well as doing it with a single file incase I need to change the time frame by seconds
ExifToolGui_X64_sBrtUZKMIA_Image_1.png

ExifToolGui_X64_42ttUblEpF_Image_2.png

StarGeek

Are you asking for a command line option or an exiftool GUI option

In Windows CMD (not Powershell), you could use something like
exiftool -P -if "not $DateTimeOriginal" "-DateTimeOriginal<FileModifyDate" /path/to/files/

If you need a GUI answer, I'll need to move the question to the exiftool GUI section of the board.
"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

Karadas89

#2
@StarGeek, yes I do mean GUI but I think I can use CMD prompts on GUI with ExifTool Direct, but this did work OML! Your a life saver, aside from all the 3-4hrs of waiting to copy files to my phone I am scott free of this stress.



I didn't know there was a separate thread for GUI so I'll forward this post to the gui section of the forums with a link if I have any other issues.

For anyone who are concerned how to format the command for ExifTool Direct, just don't copypaste in "exiftool" and "/path/to/files/", but do select + highlight either the whole folder or w/e u wanna give a DTO so it can change.

StarGeek

"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

FrankB

I can confirm that in GUI, currently, you can only set the FileModifyDate from DateTimeOriginal. The only way is to use ExifTool Direct, as you found out your self.

Looks like there is no metadata at all in your files. (EG: Orientation is also missing) I once had something similar with an IPhone. Maybe it's worth the effort to investigate how you can get ALL the metadata from your phone.