Skip to main content
Participant
November 23, 2016
Question

How to batch rename "YYYY-MM-DD - HH.MM.SS - Name - Sequence" in bridge

  • November 23, 2016
  • 1 reply
  • 2259 views

Hi there,

I want to rename a whole lot of videos in a very specific scheme in Adobe Bridge CC.

The scheme goes like:

YYYY-MM-DD - HH.MM.SS - Name - 001

The only place where I got a problem is with the HH.MM.SS part. I can choose HHMMSS, but cannot enter HH, MM or SS seperatly, and I really want the dot to separate them. I can do that in Lightroom but Bridge is much more interesting to work with in terms of organizing and renaming videos (like detail view instead of thumbnails, for instance). I'm sure there's a way to do this.

Thanks in advance for any constructive advice

This topic has been closed for replies.

1 reply

Stephen Marsh
Community Expert
Community Expert
November 23, 2016

For a 100% only Bridge workflow, I think that this will require the renaming to be performed in two passes:

1st Pass = Basic Rename

2nd Pass = String Substitution using a RegEx find/replace

For a single step workflow, I would recommend using the free ExifTool application

Stephen Marsh
Community Expert
Community Expert
November 23, 2016

Somebody with better RegEx than I can probably do the 2nd pass regular expression rename in a single step… I had to break down the RegEx into two steps… so three steps in total:

Step 1:

Step 2:

Step 3:

All of these batch rename search/replace commands can be saved as a preset.

So select all files in Bridge and run three separate rename presets… Or use Lightroom… Or some other software for renaming, there are many of them out there.

Stephen Marsh
Community Expert
Community Expert
February 17, 2017

Which of course leads me to the holy grail – a combined single step batch rename as originally requested!

or using the combined regex (?<=\d{8}\s-\s\d{2})|(?<=\d{8}\s-\s\d{4}) for the same result:

So, who needs Lightroom now?


I found an error in my previous example, the OP required the year-month-day pattern to be delimited with hyphens, where as my original example did not show this.

I have corrected this and posted a blog entry here:

Prepression: Bridge vs. Lightroom Batch Rename Comparison

The regex should read as:

(?<=\d{4}-\d{2}-\d{2}\s-\s\d{2})|(?<=\d{4}-\d{2}-\d{2}\s-\s\d{4})

Addendum:

Another regular expression that achieves the same result:

Find = (^.+?\s-\s.{2})(.{2})(.{2})(.+)

Replace = $1.$2.$3$4