Hi,
I have about 1000 dirs with names say Folder1, Folder2, ... Folder1000.
Inside of them each dir has subdir named 'res' with files inside.
I need to 'uplift' the files (happily, these files' names are identical) from the 'res' subdir to 'FolderN'.
As I suppose it can be done by mass renaming filepaths that include 'res', searching for 'res' and replacing it with none.
But I didn't find how to show filepaths to the MRT, it only sees the name of the file itself...
Mass rename filepaths - is it possible? Or need another workaround
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Mass rename filepaths - is it possible? Or need another workaround
This is quite simple:
1a. You can use branch view to view the files in these folders: Select the folders and press Ctrl+Shift+B
or
1b. Make a search and click on "Feed to listbox"
2. Select them, e.g. with Ctrl+A
3. Open the Multi-rename tool
4. Change the name field from
[N]
to
..\[N]
1a. You can use branch view to view the files in these folders: Select the folders and press Ctrl+Shift+B
or
1b. Make a search and click on "Feed to listbox"
2. Select them, e.g. with Ctrl+A
3. Open the Multi-rename tool
4. Change the name field from
[N]
to
..\[N]
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Mass rename filepaths - is it possible? Or need another workaround
It is possible.
Select all your files that want to move it one folder up and open MRT.
Make sure that MRT is open with default settings (not prior used ones)
In the Rename mask field enter
..\[N]
Press Start.
Edit:
@Ghisler was few seconds faster
Select all your files that want to move it one folder up and open MRT.
Make sure that MRT is open with default settings (not prior used ones)
In the Rename mask field enter
..\[N]
Press Start.
Edit:
@Ghisler was few seconds faster

Re: Mass rename filepaths - is it possible? Or need another workaround
Great Thanks!
(Oh my, how powerful the TC is...)
BTW for those who are interested: more than one level up is possible too! tried ..\..\[N] to copy two levels up, for instance
(Oh my, how powerful the TC is...)
BTW for those who are interested: more than one level up is possible too! tried ..\..\[N] to copy two levels up, for instance