Add time to date taken and apply as file name
Forum \ Advanced Renamer
#1 : 23/12-16 02:04
I have photos from two different cameras. The time was set incorrectly on one of the cameras. I want to rename all files using <IMG YEAR><IMG MONTH><IMG DAY>_<IMG HOUR><IMG MIN><IMG SEC>, but for the photos from the camera with the wrong time I want to add XX minutes in the new file name. How do I do that?
#2 : 26/12-16 21:07
Reply to #1:
Here, I coded a limited script that will accept a second, minute and hour offset to add to the already existing datetimeoriginal of an exif tag
the three first constants are where you need to input the offset.
const OFFSET_SEC = 0;
const OFFSET_MIN = 0;
const OFFSET_HR = 0;
const OFFSET_SEC = 20;
const OFFSET_MIN = 28;
const OFFSET_HR = 1;
you can put more than 60 seconds and more than 60 minutes, but negative values will have limited support. I could code it to support them, but right now it is not designed to.