#1 2012-02-11 22:17

Edwin
Member
Registered: 2012-02-11
Posts: 2

Naming based on previous file's EXIF info

Hi,

Is there a way to solve the following.

For instance, I got files like:
SAM_0837.JPG
SAM_0837.SRW
SAM_0838.JPG
SAM_0838.SRW

The JPGs contain EXIF info, and I have rules set up that result in:
2011-10-07 (19.55.10) (EX1) 0837.JPG
() 0837.SRW
2011-10-07 (19.55.30) (EX1) 0838.JPG
() 0838.SRW

Date/time stamp and EX1 being the camera model.
The SRW are RAW files that seem to lack EXIF details.

The part that I need help with concerns the renaming of the RAW files with exactly the same name as the previous file except for its extension that should remain the same.

The desired result should look like:
2011-10-07 (19.55.10) (EX1) 0837.JPG
2011-10-07 (19.55.10) (EX1) 0837.SRW
2011-10-07 (19.55.30) (EX1) 0838.JPG
2011-10-07 (19.55.30) (EX1) 0838.SRW

Any suggestions how to achieve this?
Thanks in advance!

Best regards
/Edwin

Offline

#2 2012-02-12 17:44

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,161

Re: Naming based on previous file's EXIF info

One way:

If you really have one SRW for each JPG, and if all SRW files are in the very same order as the JPG files !!!
But your examples implicate this:
SAM_0837.JPG
SAM_0837.SRW


= Select *.JPG only (see context menu)
[X] SAM_0837.JPG
[_] SAM_0837.SRW
[X] SAM_0838.JPG
[_] SAM_0838.SRW

= Rename them as you did before
[X] 2011-10-07 (19.55.10) (EX1) 0837.JPG
[_] SAM_0837.SRW
[X] 2011-10-07 (19.55.30) (EX1) 0838.JPG
[_] SAM_0838.SRW


= Add rule to delete jpg extension ==> Remove: Remove all ".jpg"
= do an PREVIEW ONLY
[X] 2011-10-07 (19.55.10) (EX1) 0837
[_] SAM_0837.SRW
[X] 2011-10-07 (19.55.30) (EX1) 0838
[_] SAM_0838.SRW

= Use rule "Export" > Export New Names to Clipboard
(you have now the jpg file names w/o ext in clipboard)
2011-10-07 (19.55.10) (EX1) 0837
2011-10-07 (19.55.30) (EX1) 0838

= disable or delete "Remove: Remove all ".jpg""

= Select *.SRW only
[_] 2011-10-07 (19.55.10) (EX1) 0837.jpg
[X] SAM_0837.SRW
[_] 2011-10-07 (19.55.30) (EX1) 0838.jpg
[X] SAM_0838.SRW

= Use rule "UserInput"  and paste clipboard content (skip extension)
2011-10-07 (19.55.10) (EX1) 0837
2011-10-07 (19.55.30) (EX1) 0838

= do an preview and see how it goes...
[_] 2011-10-07 (19.55.10) (EX1) 0837.jpg
[X] 2011-10-07 (19.55.10) (EX1) 0837.SRW
[_] 2011-10-07 (19.55.30) (EX1) 0838.jpg
[X] 2011-10-07 (19.55.30) (EX1) 0838.SRW


Read the  *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)

Offline

#3 2012-02-13 08:12

Edwin
Member
Registered: 2012-02-11
Posts: 2

Re: Naming based on previous file's EXIF info

Thanks Stefan! Going to try that. Best regards /Edwin

Offline

Board footer

Powered by FluxBB