Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
Thread started 01 Nov 2006 (Wednesday) 07:49
Search threadPrev/next
sponsored links (only for non-logged)

Change EXIF date and time in RAW files

 
gpocock
Member
207 posts
Joined Jan 2005
     
Nov 01, 2006 07:49 |  #1

Hello

There have been several threads on this topic in the past and the concensus has been that the rather complicated EXIFTOOL is the only way to do it. I have just come across the following web site http://www.idimager.co​m/index.php (external link) and there is a free lite version that seems to be quite happy batch changing EXIF times.

Very useful as we have just put our clocks back in the UK

Best Wishes

Geoffrey Pocock




  
  LOG IN TO REPLY
jfrancho
Cream of the Crop
Avatar
6,341 posts
Joined Feb 2005
     
Nov 01, 2006 07:59 |  #2

I use ACR, so it's as simple as editing the .xmp sidecar in a text editor.



  
  LOG IN TO REPLY
Scottes
Trigger Man - POTN Retired
Avatar
12,842 posts
Likes: 10
Joined Nov 2003
Location: A Little North Of Boston, MA, USA
     
Nov 01, 2006 08:23 |  #3

John, will ACR do batch edits to EXIF?

IDImager looks like it's $59 to be able to do batch changes to EXIF. But I'm not sure - will the free version do it? ExifUtils can do it for free.

As for ExifUtils being complicated, here's an example straight from their manual:
exifedit /a “date-taken=2004:01:01 23:59:59” myphoto.jpg
Seems pretty simple to me - you just have to read the manual. :-)

However, I have to admit that adding/subtracting 1 hour from each photo would require a program to read the time, subtract and hour, then write this new time back. Not for everyone.


But will IDImager subtract an hour in Batch mode? Or will it just set the same time to every image?


You can take my 100-400 L away when you pry it from my cold, dead fingers.
Scottes' Rum Pages - Rum Reviews And Info (external link)
Follower of Fidget - Joined the cult of HAMSTTR©

  
  LOG IN TO REPLY
jfrancho
Cream of the Crop
Avatar
6,341 posts
Joined Feb 2005
     
Nov 01, 2006 08:40 |  #4

Sort of. You'd load a metadata template (the one you created in notepad) in bridge, applying it to a multiple selection. Not real elegant. The issue is, as you pointed out, is simply subtracting an hour from each of the date created tags. It's easy if you know VB or something similar, but not for the casual user. Generally I use the .xmp templates to add contact info, copyright stuff, and I hijack a few fields for my own use. Bruce Fraser's Real World Raw book has most of the details on how to play with the sidecar files. I'm using an action, so the actual steps escape me right now :). It wasn't that hard to figure out. The difficulty is that task requires find and replace, using a regular expression, to edit metadata. I don't think that many of the usual programs can do this.



  
  LOG IN TO REPLY
Scottes
Trigger Man - POTN Retired
Avatar
12,842 posts
Likes: 10
Joined Nov 2003
Location: A Little North Of Boston, MA, USA
     
Nov 01, 2006 09:02 |  #5

Yeah, I highly doubt that any program would natively "subtract 1 hour" from each photo's EXIF. Many can do it with a little programming. I use iMatch for image catalogging and I'm pretty sure it would be simple in that program, as it's scripting language is rather easy to use.

Myself, I'd probably write a Perl script, which would actually be the easiest way for me.


You can take my 100-400 L away when you pry it from my cold, dead fingers.
Scottes' Rum Pages - Rum Reviews And Info (external link)
Follower of Fidget - Joined the cult of HAMSTTR©

  
  LOG IN TO REPLY
jfrancho
Cream of the Crop
Avatar
6,341 posts
Joined Feb 2005
     
Nov 01, 2006 09:15 |  #6

Oh yeah, Perl! Haven't touched that in years. There's some good regex stuff in there - probaly would take two lines of code, too ;).



  
  LOG IN TO REPLY
Scottes
Trigger Man - POTN Retired
Avatar
12,842 posts
Likes: 10
Joined Nov 2003
Location: A Little North Of Boston, MA, USA
     
Nov 01, 2006 09:21 |  #7

I'm thinking 7 lines, though the she-bang and "use EXIF" are two.


You can take my 100-400 L away when you pry it from my cold, dead fingers.
Scottes' Rum Pages - Rum Reviews And Info (external link)
Follower of Fidget - Joined the cult of HAMSTTR©

  
  LOG IN TO REPLY
StewartR
"your nose is too big"
Avatar
4,269 posts
Joined Jun 2006
Location: Maidenhead, UK
     
Nov 01, 2006 10:02 |  #8

It's very easy indeed with BreezeBrowser. I've used it several times after I've forgotten to change the camera's clock when travelling across time zones. You can specify the increment you want to apply to the date/time in the EXIF data (e.g. +5 hours), and apply it to a whole batch of photos with one operation. It has a relatively straightforward interface so you don't need to worry about command line commands. And best of all, it actually edits the RAW files directly, so you don't have to keep any sidecar files alongside them.


www.LensesForHire.co.u​k (external link) - complete with matching POTN discussion thread
Photos: Cats (external link) | London by day (external link) | London by night (external link) I My POTN photo sharing threads (external link) | Official "Where Am I Now?" archive (external link)
Gear: 350D | Sigma 18-200mm | EF-S 10-22mm | EF 50mm f/1.4

  
  LOG IN TO REPLY
gpocock
THREAD ­ STARTER
Member
207 posts
Joined Jan 2005
     
Nov 01, 2006 10:18 |  #9

Scottes wrote in post #2200220 (external link)
John, will ACR do batch edits to EXIF?

IDImager looks like it's $59 to be able to do batch changes to EXIF. But I'm not sure - will the free version do it? ExifUtils can do it for free.

As for ExifUtils being complicated, here's an example straight from their manual:
exifedit /a “date-taken=2004:01:01 23:59:59” myphoto.jpg
Seems pretty simple to me - you just have to read the manual. :-)

However, I have to admit that adding/subtracting 1 hour from each photo would require a program to read the time, subtract and hour, then write this new time back. Not for everyone.


But will IDImager subtract an hour in Batch mode? Or will it just set the same time to every image?

Exifutils says it's shareware, so not free. IDimager Lite is free and will batch change exif. Attached image shows the interface for batch editing a group of dng files

Best Wishes

Geoffrey Pocock


HOSTED PHOTO
please log in to view hosted photos in full size.




  
  LOG IN TO REPLY
Scottes
Trigger Man - POTN Retired
Avatar
12,842 posts
Likes: 10
Joined Nov 2003
Location: A Little North Of Boston, MA, USA
     
Nov 01, 2006 11:13 |  #10

gpocock wrote in post #2200645 (external link)
Exifutils says it's shareware, so not free. IDimager Lite is free and will batch change exif.

ExifUtils has a free version, too.

But I can see that IDimager can do the time shift, which would be difficult (for most people) in ExifUtils.


You can take my 100-400 L away when you pry it from my cold, dead fingers.
Scottes' Rum Pages - Rum Reviews And Info (external link)
Follower of Fidget - Joined the cult of HAMSTTR©

  
  LOG IN TO REPLY
tim
Light Bringer
Avatar
51,010 posts
Likes: 375
Joined Nov 2004
Location: Wellington, New Zealand
     
Apr 29, 2007 08:24 |  #11

Does anyone else have any updates for this? I managed to set the month wrong on one camera, though the time was right, now I need to wind the month back on several hundred 20D/30D RAW images. I use CS3 Bridge beta, jfrancho's suggestion was to change the xmp information, but bridge doesn't seem to pick it up.

Exifutils (free) only does 10 files at a time. The idimager lite website ( http://lite.idimager.c​om (external link) ) is down, though their main site is up. I found another thread that will let me hack things with a perl script through cygwin but I can't be bothered unless I really have to - I might just pay a license fee - but free solutions are best! :)


Professional wedding photographer, solution architect and general technical guy with multiple Amazon Web Services certifications.
Read all my FAQs (wedding, printing, lighting, books, etc)

  
  LOG IN TO REPLY
Scottes
Trigger Man - POTN Retired
Avatar
12,842 posts
Likes: 10
Joined Nov 2003
Location: A Little North Of Boston, MA, USA
     
Apr 29, 2007 08:45 |  #12

You could pay for ExifUtils. Or the classic way to get around the 10-image limit:

for %x in (*.CR2) do <exifutils command> %x


You can take my 100-400 L away when you pry it from my cold, dead fingers.
Scottes' Rum Pages - Rum Reviews And Info (external link)
Follower of Fidget - Joined the cult of HAMSTTR©

  
  LOG IN TO REPLY
tim
Light Bringer
Avatar
51,010 posts
Likes: 375
Joined Nov 2004
Location: Wellington, New Zealand
     
Apr 29, 2007 08:50 |  #13

I lost my credit card today so I can't pay for anything online for a few days :( Can you be a little more specific on the script please Scottes, i've only done a little scripting and i've been awake 20 hours or so.


Professional wedding photographer, solution architect and general technical guy with multiple Amazon Web Services certifications.
Read all my FAQs (wedding, printing, lighting, books, etc)

  
  LOG IN TO REPLY
tim
Light Bringer
Avatar
51,010 posts
Likes: 375
Joined Nov 2004
Location: Wellington, New Zealand
     
Apr 29, 2007 09:15 |  #14

Looks like windows exe of EXIFtool will do the job, it's just going to have to wait until I get some sleep before I figure out the command line parameters. I just have to subtract one month and one day, should be easy :)


Professional wedding photographer, solution architect and general technical guy with multiple Amazon Web Services certifications.
Read all my FAQs (wedding, printing, lighting, books, etc)

  
  LOG IN TO REPLY
Scottes
Trigger Man - POTN Retired
Avatar
12,842 posts
Likes: 10
Joined Nov 2003
Location: A Little North Of Boston, MA, USA
     
Apr 29, 2007 11:35 |  #15

That line IS the script. It's a one line DOS script which will run a command ("<exifutils command>" - whatever that command happens to be) on every file in the current directory. Once you figure out the proper command with parameters just replace "<exifutils command>" with the desired command and parameters.

Equivalent to the Unix command:
for x in *.CR2 ; do <exifutils command> $x ; done


You can take my 100-400 L away when you pry it from my cold, dead fingers.
Scottes' Rum Pages - Rum Reviews And Info (external link)
Follower of Fidget - Joined the cult of HAMSTTR©

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

13,991 views & 0 likes for this thread, 6 members have posted to it.
Change EXIF date and time in RAW files
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member was a spammer, and banned as such!
2815 guests, 162 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.