ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: paulbiddis on February 10, 2023, 09:32:00 PM

Title: time shift...
Post by: paulbiddis on February 10, 2023, 09:32:00 PM
Good morning all,

Firstly, apologies for asking what is probably an easy question. I have tried looking for an answer on the forums but what I have come across would need (on my part) some time to fully understand and work it. I am currently doing voluntary work on the Indian subcontinent and access to electricity (let alone decent internet) is sporadic.

I forgot to change the date/time stamp on my camera when I arrived and would like a simple command to increase this to Sri Lankan timezone with a shift of +5 hours and 30 minutes. Could someone give me just this command line that I can use to precede the file/file folder.

Many thanks.

Paul

P.s. I have been a user of exiftool for years with an old account but cannot send to forgotten email password because I no longer have access to the email I used back then. It's all a bit of a muddle.
Title: Re: time shift...
Post by: StarGeek on February 10, 2023, 09:49:18 PM
For a starter, try
exiftool -AllDates+=5:30 /path/to/files/

That should take care of the most common time stamps.

Then run this command to double check all the date time tags in the file
exiftool -time:all -G1 -a -s /path/to/files/

If you see any others you feel need adjusting, use the same command except replace AllDates with the name of the tag to change.
Title: Re: time shift...
Post by: paulbiddis on February 11, 2023, 10:43:33 AM
Thanks Star, All done and dusted. I just need to change the camera's time and location now :-) Much appreciated.