Help with change filename dates

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Help with change filename dates 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
IanF
 
Posts: 3
Joined: Wed Mar 14, 2012 10:18 pm

Re: Help with change filename dates 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.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support