Rename file after the folders name?

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

Moderator: Mr_Noodle

Rename file after the folders name? 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!
Kiton
 
Posts: 2
Joined: Tue May 15, 2012 3:19 am

Re: Rename file after the folders name? 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.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support