ExifTool Forum

ExifTool => Newbies => Topic started by: babyphat1 on September 14, 2017, 06:43:19 AM

Title: Incorrect dates
Post by: babyphat1 on September 14, 2017, 06:43:19 AM
How to fix gallery dates? What am I supposed to do? This is really stressing me out! Could someone please help me. Samsung C7 Pro. The dates have been changed and worst of all someone went way back to 1970! Please help!! eg: the pics I took 3-4 days ago were taken back to Jan 1970. And some videos from 2011 changed to 2015? I didn't update the gallery
  I have tried restarting the phone but sadly it didn't work. I'm really depressed! I have no idea what to do. Can you Please Help me
I also saw this site and I'm not sure how I'm supposed to do it. Could you help me please

This> https://gareth.halfacree.co.uk/2012/10/fixing-the-android-camera-date-ordering-bug

Im using exiftool and exiftool gui

Im trying to test a pic , to see if it changes... sadly it doesn't
Title: Re: Incorrect dates
Post by: StarGeek on September 14, 2017, 02:14:28 PM
Oh wow.  So much wrong with the script on git hub.  But that's a different topic.

First test this on a copy of a file to make sure it works.

Then check the test file to see if it has been fixed.

For the command line, you would just run
exiftool -overwrite_original "-GPSDateStamp<DateTimeOriginal" FileOrDir
Title: Re: Incorrect dates
Post by: babyphat1 on September 15, 2017, 01:44:22 AM
Yes the first thing is when i open exiftool gui there is an error saying 'ERROR: Exiftool not found! Metadata operations disabled!'

So what am i supposed to do? And when I open command prompt and write exiftool and drop a file into it, it says ''exiftool' is not recognized as an internal or external command,operable program or batch file. So what should I do? Im really so stressed!!! Because the dates on my Android Gallery changed so I want to change them back to their original date ASAP... Please help
Title: Re: Incorrect dates
Post by: StarGeek on September 15, 2017, 03:31:11 AM
Ok, did you follow the Requirements and preparations (https://exiftool.org/gui/)?  You need to install and rename exiftool as listed there first.

Understand, if that blog post is correct, this is a really easy fix.  It may take some time to work out over the forum but it isn't something to stress out about.
Title: Re: Incorrect dates
Post by: babyphat1 on September 15, 2017, 03:35:57 AM
Yes I already download exiftool and exiftool gui. But the thing is I can't copy exiftool.exe to Windows directory. I have no idea why? I tried deleting everything realted to exiftool and download again but it still doesn't work.

Actually now I tried copying exiftool from desktop to Windows directory, it did copy but still can't drop files into cmd
Title: Re: Incorrect dates
Post by: babyphat1 on September 15, 2017, 04:03:30 AM
I can open exiftool gui and I entered this "-GPSDateStamp<DateTimeOriginal" but it doesn't change?

I tried it for other pics as well but it did not change and as for exiftool . I entered what you wrote and it said "Warning: Error opening file - File
Error: File not found - File
    0 image files updated
    1 files weren't updated due to errors"

Title: Re: Incorrect dates
Post by: StarGeek on September 15, 2017, 01:42:06 PM
And you definitely selected a file in the Filelist section?

In the GUI, go to the "Program" menu and select "About".  Click on the window that pops up, hit Control+C.  Then come back here and then hit Control+V to paste so we can see what it says.
Title: Re: Incorrect dates
Post by: babyphat1 on September 17, 2017, 08:04:58 AM
Yes I selected a pic and entered this"-GPSDateStamp<DateTimeOriginal" and this showed up:


======== ./20170908-WA0009.jpg
Nothing changed in ./20170908-WA0009.jpg
    0 image files updated
    1 image files unchanged
Warning: No writable tags set from ./20170908-WA0009.jpg
<-END-

And i had some pics on phone which I can't read the Original dates although there is File Modification,Access and Creation date. How am I supposed to change to their original dates?

Title: Re: Incorrect dates
Post by: Phil Harvey on September 18, 2017, 08:58:08 AM
Your command won't change anything if DateTimeOriginal doesn't exist.  To use the FileModifyDate as a backup, try this:

exiftool "-gpsdatestamp<filemodifydate" "-gpsdatestamp<datetimeoriginal" FILE

- Phil