The DAM Forum
Welcome, Guest. Please login or register.
June 19, 2013, 05:18:36 PM

Login with username, password and session length
Search:     Advanced search
Jan 9, 2012
John Beardsworth's new Lightroom site
Lightroom Solutions
27968 Posts in 5116 Topics by 2914 Members
Latest Member: imthedamstar
* Home Help Search Login Register
+  The DAM Forum
|-+  Software Discussions
| |-+  Import From Camera
| | |-+  Parsing Meta data for IFC rename option
« previous next »
Pages: [1] Print
Author Topic: Parsing Meta data for IFC rename option  (Read 3118 times)
bjornssh
Newbie
*
Posts: 4


View Profile
« on: December 27, 2005, 11:04:49 PM »

Is there a way to parse the exif "DateTimeOriginal" (the date the photo was taken) string (EOS20D CR2 format 05-28-2005, 3-54-20 PM) and output the result in YYMMDD format for use in the IFC Rename Option.  

I would like to have the following IFC rename result:

   HSB_YYMMDD_OriginalFileName.ext      with the YYMMDD being derived from the "DateTimeOriginal" string stored in the exif metadata.

Thank you for your asistance.

PS Great book!

Steve
« Last Edit: December 29, 2005, 09:55:44 PM by peterkrogh » Logged
peterkrogh
Administrator
Hero Member
*****
Posts: 5682


View Profile
« Reply #1 on: December 28, 2005, 06:45:47 AM »

Steve,
Did you try it? (The script will show you before and after).

I don't have a Canon to test, but it should work fine.  You may want to try File Modification date as I outline in my book.  This actually shows the date shot for my Nikons.  Inn the book, I outline how you can get access to other metadata fields.

Any Canon shooters out there who can weigh in?
Peter
Logged
bjornssh
Newbie
*
Posts: 4


View Profile
« Reply #2 on: December 28, 2005, 08:38:52 AM »

Using the Modification Date element in the rename dialogue returns the WinXP modification date (date the file was last saved to disk).

I have tried the following to parse the year (05) from the exif data string "05-28-2005, 3-54-20 PM" without success:

   HSB_<var metadata[exif:DateTimeOriginal][8,2]><var extension>            yields HSB_05-28-2005, 3-54-20 PM.JPG

   HSB_<var metadata[exif:DateTimeOriginal]8,2><var extension>               also yields HSB_05-28-2005, 3-54-20 PM.JPG

   HSB_<var (metadata[exif:DateTimeOriginal])[8,2]><var extension>          error unsupported renaming variable

   HSB_<var<var (metadata[exif:DateTimeOriginal])>[8,2]><var extension>  error unsupported renaming variable

Steve
Logged
peterkrogh
Administrator
Hero Member
*****
Posts: 5682


View Profile
« Reply #3 on: December 28, 2005, 01:03:05 PM »

Steve,
Let me see if I can get Mr. Stucky to chime in here...
Peter
Logged
rstucky
Newbie
*
Posts: 2


View Profile
« Reply #4 on: December 28, 2005, 01:38:35 PM »

Hi folks.

Sorry to say that this version only supports the whole metadata field. You can't parse the DateTimeOriginal field down to its components.

Stay tuned. That was on my fix list, and I'll try to get it added in January

Bob
Adobe Workflow Scripting
Logged
bjornssh
Newbie
*
Posts: 4


View Profile
« Reply #5 on: December 28, 2005, 01:43:26 PM »

Thanks for all your help.

Peter, with all the time you spend answering questions on this forum, when do you have time for photography - your direct input is greatly appreciated!

Steve
Logged
peterkrogh
Administrator
Hero Member
*****
Posts: 5682


View Profile
« Reply #6 on: December 28, 2005, 02:00:13 PM »

Really good question...
Logged
AlanDunne
Full Member
***
Posts: 185


View Profile
« Reply #7 on: December 28, 2005, 08:30:32 PM »

Peter,

the good news is that there is light at the end of the tunnel. As more people get hands on practice using your principles for DAM, the collective skill set will improve to the point where you are not the sole source for insight. I am sure you will welcome that day. This forum is also attracting some knowledgable folks who are starting to make a contribution. I consider Dan to have reached guru status on the subject of PC backups. Others are out there ...

We all appreciate the effort you have made to get the book published and to start this forum. My DAM practices are finally coming together after 4 years of  mistakes.

Cheers, Alan
Logged
peterkrogh
Administrator
Hero Member
*****
Posts: 5682


View Profile
« Reply #8 on: December 29, 2005, 06:41:58 AM »

Alan,
Well, it was always my intention to develop/discover a system for handling digital images that was simple enough for people to understand, and one of those tests of understanding is the ability to explain it.  It's nice to see that happening.
Peter

Logged
avitch
Newbie
*
Posts: 5


View Profile
« Reply #9 on: December 30, 2005, 07:52:50 AM »

Hi all,

As a Newbi to this forum, I originally posted this in the wrong place (thanks Peter for relocating it!), and I'm now following Peter's suggestion of including the message in this thread. Based on the discussion so far, it appears that my renaming scheme (see below) should be possible after the January update. If thats the case, great! If not, then Bob, please add my request to your list of possible improvements down the road.

Thanks! 

and here is my original post:

"It is my habit to rename my files with their extended capture date and time in the following format: YYYY-MM-DD_HH-MM-SS-S.[extension], where "HH" is hours in 24-hour format, "MM" is minutes, "SS" is second and "S" is subsecond. I can generate this file name with other downloading utilities, but I haven't figured out how to do it with IFC. The EXIF picker in the renaming dialogue doesn't seem to includes those capture time variables.

Am I missing something?

Thanks in advance for your help!"

Adam
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!