Script or Regex to modify date

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
kluv
Posts: 35
Joined: 02 Mar 2011 13:23

Script or Regex to modify date

Post by kluv »

I have some folders with the Date in this format

Marvel Week+ (mm-dd-YYYY)

I would like to rename it to

Marvel Week+ (YYYY-mm-dd)

Thank you.

autocart
Posts: 1422
Joined: 26 Sep 2013 15:22

Re: Script or Regex to modify date

Post by autocart »

Do you mean the date in one of the columns "Modified", "Created", or similar, or do you mean the date is part of the folder name?

kluv
Posts: 35
Joined: 02 Mar 2011 13:23

Re: Script or Regex to modify date

Post by kluv »

As part of the folder name.

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Script or Regex to modify date

Post by highend »

(\d\d)-(\d\d)-(\d{4}) > $3-$1-$2
1.png
To see the attached files, you need to log into the forum.
One of my scripts helped you out? Please donate via Paypal

Post Reply