Page 1 of 1

Rename file after the folders name?

PostPosted: Thu May 17, 2012 2:42 pm
by Kiton
Hi!

Is it possible to rename file after the folders name? I need this to work with some database renaming.

TIA!

Re: Rename file after the folders name?

PostPosted: Fri May 18, 2012 2:30 pm
by Mr_Noodle
It's a bit tricky. First off, read the section in the help on "match patterns" and "custom tokens".

What you can do, then, is something like:
Code: Select all
If all are met for the enclosing folder
    Name matches (•folder name)


where (•folder name) is a custom token matching anything.

You can then drop that custom token into your rename pattern.