Multi Rename Tool: rename with parts from path?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Tim58
Junior Member
Junior Member
Posts: 12
Joined: 2009-02-09, 13:08 UTC

Multi Rename Tool: rename with parts from path?

Post by *Tim58 »

I'm trying to figure out a way of renaming files to a variant of their full path. Specifically I'd like to be able to rename d:\rive\path1\subd1\subd2\file.ext to rive-path1-subd1-subd2-file.ext
I have tried using the file mask [G]-[P]-[N], but that only goes up one level, so my renamed file would be subd1-subd2-file.ext which is missing the top two levels. Any idea how I could do this? rename the file with the full path, using - instead of \.
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Try these settings

Code: Select all

Mask          [=tc.path][N]
Ext           [E]
Search for    \
Replace with  -
TimA
Junior Member
Junior Member
Posts: 24
Joined: 2008-05-20, 13:46 UTC
Location: Ottawa, Canada

Post by *TimA »

Thanks. I thought I had tried that yesterday, but I guess I must have had something else checked because it created new subfolders... Maybe I still had [G] in there or something.
Your solution works perfectly. :)
Post Reply