Reformatting Dates in file names

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

Reformatting Dates in file names

Postby matix1003 » Tue May 09, 2023 1:48 am

I am trying to rename file dates, but have had no luck.. The final date format needs to be YYYY-MM-DD and remove periods and uses dashes.

Original:
Hawaii.Oahu.20.08.30.1080p.mp4 <-- (This is YY.MM.DD)

Changed to:
Hawaii - Oahu - 2020-08-30 - 1080p.mp4 <-- (Need it to be YYYY.MM.DD)

Thanks!
matix1003
 
Posts: 6
Joined: Fri Jan 20, 2023 7:42 pm

Re: Reformatting Dates in file names

Postby Admin » Tue May 09, 2023 4:06 am

Hi, can you give more examples of file names from -> to , let's say at least 5 examples. Does the date always come after 2 words separated by a dot.
thanks
Admin
Site Admin
 
Posts: 2354
Joined: Tue Mar 08, 2005 8:39 pm

Re: Reformatting Dates in file names

Postby matix1003 » Wed May 10, 2023 5:38 pm

I can give five examples if you need 5, however my objective is to remove periods, put dashes with spaces and move the year to the front and change the year to a 4 digit year.

I have another post, but it didn't get resolved.
viewtopic.php?f=12&t=6045

Original:
California.Malibu.23.12.01.1080p.mp4 <-- (This is YY.MM.DD)

Changed to:
California - Malibu - 2023-12-01 - 1080p.mp4 <-- (Need it to be YYYY.MM.DD)

Thank you!
matix1003
 
Posts: 6
Joined: Fri Jan 20, 2023 7:42 pm

Re: Reformatting Dates in file names

Postby matix1003 » Wed May 10, 2023 5:41 pm

The date doesn't always come after two words. I didn't even consider that!

Another example

Original:
Hawaii.20.08.30.1080p.mp4

Changed to:
Hawaii - 2020-08-30 - 1080p.mp4
matix1003
 
Posts: 6
Joined: Fri Jan 20, 2023 7:42 pm

Re: Reformatting Dates in file names

Postby therube » Wed May 10, 2023 6:54 pm

This should be (locked, referenced &) dup'd to, viewtopic.php?f=12&t=6045.
therube
 
Posts: 1319
Joined: Mon Jan 18, 2016 6:23 pm

Re: Reformatting Dates in file names

Postby therube » Thu May 11, 2023 6:40 pm

therube
 
Posts: 1319
Joined: Mon Jan 18, 2016 6:23 pm


Return to BRU Support