Page 1 of 1

Renaming Files Adding Character in the Middle

PostPosted: Tue Dec 19, 2017 4:11 pm
by mfanous
Hello,

I am trying to create a rule to rename about 200 files. Most of my files follow the following format...

(YYYY-MM-DD) File Name.ext

I came across 200 files that were mislabeled. Those 200 looked like this

YYYY_MM_DD FileName.ext

On mac, I did a standard "rename/replace text" of all the _ to -
Then I did another standard "add text" on mac of adding a ( to the beginning of the filename

I am trying to figure out a rule to help me add the 2nd ) to close of the file.

Is there a way to do a pattern match? or add a ) after the first 11 characters?

Thanks!

Re: Renaming Files Adding Character in the Middle

PostPosted: Wed Dec 20, 2017 2:12 pm
by Mr_Noodle
Search the help for "match patterns". You can create a custom attribute to match the first part then in the Rename action, put parentheses around it. You can also use the replace text function to replace the underscores with dashes.