I've been all over this board and the internet looking for a script to change the "Date Created" of a .jpg file to the "Date Picture Taken" for use in the batch converter feature of XnView.
I've transferred hundreds of photos from my digital camera to my computer and upon transfer, they've taken the date of transfer as the "Date Created". I'd like to have it use the "Date Picture Taken" as the "Date Created"
Can anyone help? I've been using XnView for years as a mini editor and image converter program, though I've never scripted or used the batch converter feature. I'd really like to learn and feel that a script to accomplish this would really get me going.
Need help creating a script
Moderators: helmut, XnTriq, xnview
Re: Need help creating a script
It doesn't really address question, but the change timestamp function might prove useful.
Highlight files,
Browser menu>Tools>Change timestamp
Use (and select with down arrow)
[x] EXIF: Date taken
Change
[x] File Date created
Highlight files,
Browser menu>Tools>Change timestamp
Use (and select with down arrow)
[x] EXIF: Date taken
Change
[x] File Date created
Re: Need help creating a script
Thanks marsh, and you are right, it doesn't directly address the question, but it did open my eyes to an option of the Change Timestamp function that I wasn't aware existed. Don't know why, but my eyes never went past the 2nd option of the Change Timestamp function. The 3rd option hit the nail on the head, and I thank you for redirecting me.marsh wrote:It doesn't really address question, but the change timestamp function might prove useful.
Highlight files,
Browser menu>Tools>Change timestamp
Use (and select with down arrow)
[x] EXIF: Date taken
Change
[x] File Date created
On the other hand, I was looking forward to learning some scripting, so if anyone has a basic script to use with XnView, I'd appreciate it. Thanks again, marsh.
Re: Need help creating a script
-jhead is a command line Exif program which has a timestamp function.
-a wikipedia article about batch files.
-a wikipedia article about batch files.
Re: Need help creating a script
Thanks for the jhead recommendation. I'll have to take a look at that the next time I need to do some date changing that is difficult to handle through XnView. For those who have trouble with command line programs, I found EXIF Date Changer, which operates through the Windows environment. I found it simple to use, and it's also freeware, with an upgrade option to the Pro version at a reasonable cost ($9.95).marsh wrote:-jhead is a command line Exif program which has a timestamp function.
-a wikipedia article about batch files.
Thanks also for the wikipedia link. I'll have to look at that when I have some spare time. I think scripts can be a very useful time saver for various task and am interested in learning. Thanks again.
-
- Posts: 1
- Joined: Sun Jul 25, 2010 10:17 am
Re: Need help creating a script
I recommend exiftool http://www.sno.phy.queensu.ca/~phil/exiftool/
I am not sure it answers easily your question but it seems to have all to do it.
AJ
I am not sure it answers easily your question but it seems to have all to do it.
AJ