Page 1 of 1

Help with change filename dates

PostPosted: Thu Jul 14, 2016 12:18 pm
by IanF
Hi,
I have a number of variants of filenames with differing date formats, where I want to change them all to one format. For example:-

Apple receipt Nov06.pdf gets renamed at 2006-11-01 - Apple receipt.pdf
So where the dd is missing just change it to the 1st of the month

Or
Bank Statement - 27Apr2012.pdf
Renamed as
2012-04-27 - Bank Statement.pdf

I thought I could use "Filename matches ....(anything) mmmyy (custom date format)" then,

"Rename with pattern" and adjust the date token but I don't see how I keep the first part of original text.
What I am getting is
Bank Statement - 27Apr2012.pdf
Renamed as
2012-04-27 - .pdf

Is what I want even possible?

Thanks,
Ian

Re: Help with change filename dates

PostPosted: Fri Jul 15, 2016 11:52 am
by Mr_Noodle
Create another custom attribute (a text one, not date) to capture the part of the text you want to re-use in the rename.