#1 2019-08-26 00:02

dannician
Member
Registered: 2019-07-06
Posts: 34

Script for same date Created, Modified and Exif Date?

Is there a script that can be used to make the Created, Modified and Exif Date column the same with one second between each file? 


Here is an example of what the three dates look like before:
dates before script


Here is what I am trying to accomplish with the script:
date after script

I can accomplish this with another program before I bring the pictures into ReNamer, but it would be much more convenient to do it all with one program.

Offline

#2 2019-08-26 13:57

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Script for same date Created, Modified and Exif Date?

The change of date created, date modified and exif date could be accomplished within ReNamer with a use of the Pascal Script rule. The first two can be changed by built-in SetFileTimeCreated and SetFileTimeModified functions, and the last one can be changed by calling 3rd party command line tool such as ExifTool or Exiv2.

However, ReNamer is not intended for modifying the content or the meta data of files. If this is coded up via a Pascal Script rule, it will be executed upon every Preview operation (which is when all rules are applied), which may be quite awkward.

I would strongly recommend finding a different way of solving your task, but if you still want to go ahead with this approach, then we can help you with that script.

Offline

Board footer

Powered by FluxBB