Google photos sorting? Possible fix?

Started by lolville, August 16, 2024, 01:19:10 PM

Previous topic - Next topic

lolville

Hello. I am using google takeout to download all my photos and videos. Then I wanna delete everything from the google drive and reupload everything using a Pixel XL.

I removed duplicated using czkawka and fixed some name files with bulk rename utility. Then I transferred the files from my computer to the phone but everything is sorted and is being uploaded in the same day that I used exiftool to fix the metadata.

I ran exiftool with the following parameters

exiftool -r -d %s -tagsfromfile "%d/%F.json" "-GPSAltitude<GeoDataAltitude" "-GPSLatitude<GeoDataLatitude" "-GPSLatitudeRef<GeoDataLatitude" "-GPSLongitude<GeoDataLongitude" "-GPSLongitudeRef<GeoDataLongitude" "-Keywords<Tags" "-Subject<Tags" "-Caption-Abstract<Description" "-ImageDescription<Description" "-DateTimeOriginal<PhotoTakenTimeTimestamp" -ext "*" -overwrite_original -progress --ext json <DirToProcess>
A command that makes the modified date same as creation date will solve my problem or there is something else to add?
Will this work?
exiftool -r -d %s -tagsfromfile "%d/%F.json" "-FileModifyDate<PhotoTakenTimeTimestamp" -ext "*" -overwrite_original -progress --ext json "[DirectoryName]"
Thanks!

Edit: Or just use the Gui and use the modify menu?

StarGeek

Try it and see. FileModifyDate is probably the tag you want to use, though it might be FileCreateDate instead.
"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