Page 1 of 1

file pairs

PostPosted: Mon Mar 16, 2015 7:29 pm
by pete@silchester.org
I have been using BRU to sequentially number my .jpg pictures for some while.

I have just started using RAW files so the camera produces two files for each shot
img1234.jpg and img1234.raw

I renumber files to yyyy_mm_dd_img33456.jpg using a running number sequence

I now need to be able to renumber a pair of files as obviously the number applied to the jpg and the raw image of the same shot need to be kept aligned.

I cannot find anything in the help or in past postings on this forum which would enable me to do this? Suggestions, please!

Thanks for any assistance.

Re: file pairs

PostPosted: Wed Apr 01, 2015 9:27 pm
by bitmonger
Pete,
If you have a directory with only matching pairs with filenames as you describe, then the sort order for RAW and JPG should be the same, so
in the Selections (12) field put in *.RAW as a filter, then run the rename adding the "yyyy_mm_dd_" prefix.
Then change the Selections (12) field to *.JPG as a filter and run it again.

This will work as long as you only have matching pairs in the directory. It probably would be prudent to set up a work directory to dump the matching files to each time to process, then move them elsewhere.

Hope this helps,
Bit