Page 1 of 1

Possible to add numerical sequence in certain conditions?

PostPosted: Sun May 18, 2014 8:58 pm
by Linda
Hi,

I am currently using BRU to rename photos with date & time (a basic YYMMDD_HHMMSS format), but now that I have a new camera that supports taking series of photos I am running into the issue that seconds aren't enough to differentiate the shots.

I don't suppose BRU could be used to add a sequence in those cases where there is a conflict, making those photos YYMMDD_HHMMSS_##?

If not, does anyone have a suggestion for how to approaching renaming such photos? :)

Re: Possible to add numerical sequence in certain conditions?

PostPosted: Mon May 19, 2014 1:48 am
by truth
First ensure sorting by camera-given-names, then add:
Options/PreventDuplicates=Checked

It appends _1 thru _99 if needed to create unique NewNames (handles up-to 100pics/sec).
Note that it's a final-step rename, no other settings can modify its affect.
To do so would require another run.

If more than 100pic/sec is needed, I'd use exiftool/jhead.

Re: Possible to add numerical sequence in certain conditions?

PostPosted: Mon May 19, 2014 8:28 am
by Linda
Ah, thank you, will give that a try. :) I don't think I will be running over 100 images per second, so it should work.

Out of curiosity, though, what would those other tools allow me to do in such a scenario? I am not familiar with them.

Re: Possible to add numerical sequence in certain conditions?

PostPosted: Mon May 19, 2014 9:38 pm
by truth
They're both commandline tools that dont max-out at 99.
Neither mandates that _ must precede numbering, if needed.

Jhead auto-switches between alpha/numbers depending on LastChar of pre-existing name.
Exiftool is more flexible, & can read a LOT more than just dates or exif-data.

If your camera stores SubSeconds within the jpeg's exif-data, ExifTool could rename as:
Year-Month-Day_Hour-Minute-Seconds.SubSeconds.jpg

I doubt you'd need either in this-case, shooting 100pics/sec sounds more like video.
They are both very handy tools though.