How to rename YYYYMMDD_HHMMSS to YYYY-MM-DD HH.MM.SS

Post any Bulk Rename Utility support requirements here. Open to all registered users.

How to rename YYYYMMDD_HHMMSS to YYYY-MM-DD HH.MM.SS

Postby vtntv » Fri Jun 27, 2014 2:43 am

Dear All,

I have more than 25.000 pictures. I would like to rename them according to the following rule:

YYYYMMDD_HHMMSS to YYYY-MM-DD HH.MM.SS

Any ideas ?

Regards,
vtntv
 
Posts: 1
Joined: Fri Jun 27, 2014 2:39 am

YYYYMMDD_HHMMSS --> YYYY-MM-DD HH.MM.SS

Postby truth » Fri Jun 27, 2014 6:35 am

This works for the YYYYMMDD_HHMMSS format
YYYY must begin with 1-or-2, added a few other restrictions.
No am/pm/etc allowed in orignames (digits-only):

1Regex match/replace
^([12]\d{3})([01]\d)([0-3]\d)_([0-2]\d)([0-5]\d)([0-5]\d)$
\1-\2-\3 \4.\5.\6
truth
 
Posts: 221
Joined: Tue Jun 25, 2013 3:39 am
Location: Earth, OrionArm, MilkyWay


Return to BRU Support