Bulk date renaming

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

Bulk date renaming

Postby HalHoward » Sat Jul 04, 2020 11:28 am

Hello how do I bulk rename "YYYYMMDD" to "DD-MM-YYYY" I was looking at other topics on this subject but I don't understand how the coding works for renaming dates, cheers.
Posts: 1
Joined: Sat Jul 04, 2020 11:25 am

Re: Date renaming

Postby therube » Mon Jul 06, 2020 11:20 am


And you would look for a series of 8 digits, \d\d\d\d\d\d\d\d, & then split out the parts separately, (\d\d\d\d)(\d\d)(\d\d).
Then it's simply a matter of rearranging the parts (& adding dashes).
So, \3-\2-\1, gives you your DD-MM-YYYY ordering.

Now all that changes once the rest of your file name is taken into consideration.

"Generally" something like this may work:

Code: Select all
Match:  (.*)(\d\d\d\d)(\d\d)(\d\d)(.*)
Replace:  \1\3-\2-\1\4

Match everything up to your date
Match your date (split into m-d-y parts)
Match everything else

Posts: 921
Joined: Mon Jan 18, 2016 6:23 pm

Return to BRU Support