#1 2019-07-01 04:27

yupowert
Member
Registered: 2019-07-01
Posts: 1

Is it possible to Merge multiple Renamed Folders

Is there a way to allow/enable Folder renaming to merge 2 renamed folders together. In Windows explorer, if you have 2 folders, e.g 'A' & 'B', and you rename folder 'B' to 'A', Windows will ask if you want to merge the 2 folder structures together. I want to achieve the same thing in Renamer.

I've obviously completely simplified the above example Folder Names. I've created rules within Renamer which actually successfully autocreate the new (and sometimes correctly duplicate) folder names based on parts of a specific filename within  that folder. (Don't fret, no merged files will ever clash, the extensions are different).

I just need to find an option to permit folder merge.

Many thanks

Offline

#2 2019-07-01 07:27

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,370

Re: Is it possible to Merge multiple Renamed Folders

Yes, you can merge folders together by changing the full path of files in one of your renaming rules.

Let's say you have two folders:
C:\Test\FolderA
C:\Test\FolderB

Add the content of FolderA to ReNamer, and modify the full path of files via renaming rules, like so:

1) Insert: Insert ":File_FilePath:" replacing current name
2) Replace: Replace all "C:\Temp\FolderA\" with "C:\Temp\FolderB\"

You can also add both FolderA and FolderB together and merge them into FolderC, for example.

Note that the above rule with ":File_FilePath:" tag will replace the current name, so any modifications to the new name prior to that rule will be discarded. If needed, there is a way to keep the current name and only insert the folder path via a Pascal Script rule, also in the next development version there will be a new meta tag added ":File_FolderPath:", which will make this task easier.

Last edited by den4b (2019-07-01 07:43)

Offline

Board footer

Powered by FluxBB