#1 2007-01-14 13:38

Loulia
Member
Registered: 2007-01-14
Posts: 2

Rename file formating date expression (yyyy-dd-mm to dd-mm-yyyy)

Hello and thanks for this wonderful software.

I have a lot of word files named with the date like 2006-12-28.rtf and I want to rename them with another date format.
yyyy-dd-mm into dd-mm-yyyy

Does someone know how i can do this?

Thanks for your answers wink

Loulia

Offline

#2 2007-01-14 14:19

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Rename file formating date expression (yyyy-dd-mm to dd-mm-yyyy)

Hi Loulia,

I think you made a little bobo... you wanted yyyy-dd-mm into dd-mm-yyyy, but the sample file 2006-12-28.rtf that you game is actually in yyyy-mm-dd format, unless there are 28 months in your calendar wink

Anyway, you problem is easily solvable with the RegEx rule:
Expression:  (\d.*)-(\d.*)-(\d.*)
Replace:      $3-$2-$1     or     $2-$3-$1
,depending on the real format of your files. (with skip extension option)

Offline

#3 2007-01-14 14:46

Loulia
Member
Registered: 2007-01-14
Posts: 2

Re: Rename file formating date expression (yyyy-dd-mm to dd-mm-yyyy)

You and your renamer are the best !

Thanks for your quick answer

Offline

Board footer

Powered by FluxBB