Copy link to clipboard
Copied
Since iView/Media Pro is about to hit the 32bit wall, I'm trying to figure new ways to manage the assets (DAM).
One item is file renaming. Today I'm trying Bridge, which I've had for decades (or so) but never used.
I managed to get it to rename like this:
2019-06-07-110713.jpg
but I want it like this:
2019-06-07-11-07-13.jpg
So Bridge almost does it, but that last block has hoursminuitesseconds as one block
Searching these here forums implies there's a way to do this with "regular expresseions" but I have not seen an example with plain hyphen separators (no spaces, no slashes, no colons)
Do any of you know how to do a YYYY-MM-DD-hh-mm-ss rename?
The find string is:-
(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(.*)
The replace is:-
$1-$2-$3-$4-$5-$6
Copy link to clipboard
Copied
The find string is:-
(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(.*)
The replace is:-
$1-$2-$3-$4-$5-$6
Copy link to clipboard
Copied
Thanks so much for that. Genius!
Copy link to clipboard
Copied
In the case of Burst photos, would Bridge be smart enough to also replace the <space>(1)'s, like these:
2016-03-08-08-01-58 (1).jpg
2016-03-08-08-01-58 (2).jpg
2016-03-08-08-01-58 (3).jpg
2016-03-08-08-01-58 (4).jpg
2016-03-08-08-01-58 (5).jpg
2016-03-08-08-01-58 (6).jpg
2016-03-08-08-01-58 (7).jpg
2016-03-08-08-01-58-1.jpg
with sequential dashes, like these?
2016-03-08-08-01-58-2.jpg
2016-03-08-08-01-58-3.jpg
2016-03-08-08-01-58-4.jpg
2016-03-08-08-01-58-5.jpg
2016-03-08-08-01-58-6.jpg
2016-03-08-08-01-58-7.jpg
2016-03-08-08-01-58-1.jpg
Copy link to clipboard
Copied
You could batch rename these with:-
Find is :-
(.{19})(..)(\d+)(.+)
Replace with :-
$1-$3
Copy link to clipboard
Copied
That's perfect.
Also, the fact that you seem to thin in parentheses and brackets and dots is impressive.
Copy link to clipboard
Copied
Also, the fact that you seem to thin in parentheses and brackets and dots is impressive.
SuperMerlin's real name is actually Neo. The world looks like this to the One:
So, compared to that, regular expressions are nothing!