Here is what I do want to achieve:
I three versions of the same file, triplets of JPEG, NEF & DNG, all part of one and the same version set, occasionally an additional print version.
They are named like this: prefix_sequencenumber.extension, e.g.:
...
FB_0123.JPG
FB_0123.NEF
FB_0123.DNG
FB_0124.JPG
FB_0124.NEF
FB_0124.DNG
FB_0125.JPG
FB_0125_print.JPG
FB_0125.NEF
FB_0125.DNG
FB_0126.JPG
FB_0126.NEF
FB_0126.DNG
Now these files have a barcode embedded in their xmp metadata, e.g., ASU0069276, ASU0067246.
Triplet 1 & 2 correspond to a specimen with one barcode, the next triplet to a different specimen. Meaning I took several images for one barcode, others images that correspond o a different barcode.
I tried to rename the files using that barcode plus a unique sequence number, like this:
...
ASU0069276-001.jpg
ASU0069276-001.NEF
ASU0069276-001.DNG
ASU0069276-002.jpg
ASU0069276-002.NEF
ASU0069276-002.DNG
ASU0067246-001.JPG
ASU0067246-001_print.JPG
ASU0067246-001.NEF
ASU0067246-001.DNG
ASU0069276-003.jpg
ASU0069276-003.NEF
ASU0069276-003.DNG
I thought this renaming rule would do the job:
Code: Select all
%xmp:dwc:Occurrence.dwc:catalogNumber%ImageNumber{offset=1;length=3;increment=1;reset=never}.%FileExtension
Well, this resulted in a complete mess.
Any suggestions?