While I've been using TC for well over a decade now on a daily basis, I'm still always enamored by the usefulness of the multi-rename tool.
One thing that's always frustrated me though, is that I can't find a tag or way of detecting the parent folder name?
Ie I have often multiple folders with the same named contents.
i'd like to rename for example:
product/Blue/item_xxx_description_001.png
To: product/Blue/item_Blue_description_001.png
currently I have 930 items to rename through a deep nest of folders, so you can see the frustration.
Am I just missing the function, or could I request the addition ?
Multi rename [parent folder] tag
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 12
- Joined: 2014-01-10, 15:27 UTC
Re: Multi rename [parent folder] tag
You will have to add parent folder name using the file name mask and use search and replace with regular expression to position the name at the correct place.reekydeeky wrote:i'd like to rename for example:
product/Blue/item_xxx_description_001.png
To: product/Blue/item_Blue_description_001.png
Rename mask: file name: [P]_[N]
Search for: ^(.*?)(_)(.*?)_.*?_|^.*?_
Replace with: $3$2$1$2
☑ RegEx
☐ Subst
(The last part of the regular expression "|^.*?_" is to remove the parent folder name again if the correct position could not be found)
-
- Junior Member
- Posts: 12
- Joined: 2014-01-10, 15:27 UTC
-
- Junior Member
- Posts: 12
- Joined: 2014-01-10, 15:27 UTC