Skip to main content
jimhere
Known Participant
June 7, 2019
解決済み

A YYYY-MM-DD-hh-mm-ss rename

  • June 7, 2019
  • 返信数 1.
  • 1829 ビュー

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?

このトピックへの返信は締め切られました。
解決に役立った回答 SuperMerlin

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

返信数 1

SuperMerlin
SuperMerlin解決!
Inspiring
June 7, 2019

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

jimhere
jimhere作成者
Known Participant
June 7, 2019

Thanks so much for that. Genius!