EXIF data and Google Photos

Started by da1k, May 04, 2019, 03:19:16 AM

Previous topic - Next topic

da1k

Hello everybody,

I just found ExifTool and I hope it will resolve my problem.

I wanted to upload photos to Google Photos. I already prepared folders on my laptop with photos in that way: \Year_Month_event_description\picture_name.jpg. I want to copy this folders over USB cable to my phone and than I will turn on backup for this folders in Google Photos app. But when I remove EXIF data all files are visible in Google Photos as made today despite this that all files have time and date when they were done. So I suppose that I will need to keep time and date in EXIF. How can I do that in once in all subfolders? 

regards,
da1k

StarGeek

If the date is in the order of  YEAR MONTH DAY HOUR MINUTES SECONDS (largest time unit to smallest) and doesn't include any extra numbers, then this would be covered by third paragraph of FAQ #5 (starts "Having said this").  The example there would copy the date from the file name.  To additionally recurse into sub-directories, you would add the -r option and to avoid the creation of backup files you would add the Overwrite_Original option.

I just am curious, though, as to why you felt you needed to remove the exif data in the first place?
"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

da1k

Hello,

Thanks for an answer but I think we misunderstood. In current state my photos are with EXIF data (I checked that date is format as you wrote), they have also (as file) correct time and date.  I want to remove EXIF data to limit data which I share with this file. Ideal situation is when there is no EXIF at all, but in such conditions Google Photos app shows that all pictures were made when they were uploaded to phone (eg. 04.05.2019 when they were made at 24.04.2019) and this makes a mess in my photos. So if I'm not wrong if I will leave only date and time it will be shown correctly in the app and no other data will be shared.

thanks,
da1k

Phil Harvey

You should be using a command something like this to clean the metadata from the files:

exiftool -all= -tagsfromfile @ -datetimeoriginal DIR

This will wipe all metadata but the EXIF DateTimeOriginal.

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

da1k

Thanks for help. It looks that it works, but I get such warning:

"Warning: [minor] Unrecognized MakerNoteUnknown - c:/exiftool/2019/sample.jpg"

Command which I used is: exiftool.exe -all= -tagsfromfile @ -datetimeoriginal -r c:\exiftool\2019

What about is this warning?

regards,
da1k

Phil Harvey

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

da1k

OK. Thank you. I should read FAQ first :)