Renaming multiple folders of files with different names

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Renaming multiple folders of files with different names

Postby Shaddam » Wed Aug 30, 2023 11:03 am

Is it possible with this product to rename a whole batch of folders, all with different names, so that the files in each folder are named sequentially with a name based on the name of the folder they are in?
Most file renamers I have used I would have to do each one on its own, but I am looking for a way to put files in folders, and rename them all at once.
Thanks in advance for any advice....
Shaddam
 
Posts: 1
Joined: Wed Aug 30, 2023 10:59 am

Rename folders, then add parent-folder to filenames

Postby Luuk » Thu Aug 31, 2023 12:37 am

Without using Javascript(14), the folders will probably need to be renamed first, and then their files.
This because AppendFolderName(9) and Numbering(10) wont distinguish between file/folder-names.
So this can also depend on what should be the new folder-names, and also the new filenames.
Luuk
 
Posts: 706
Joined: Fri Feb 21, 2020 10:58 pm

Re: Renaming multiple folders of files with different names

Postby therube » Thu Aug 31, 2023 4:25 pm

If I'm understanding...

12:Filter -> Files & Subfolders
2:Name -> Remove
9:Append Folder Name -> Name: Suffix
10:Numbering -> Mode: Suffix, Sep.: _

Code: Select all
C:\TMP\BRU\real2\a                  real2_1
C:\TMP\BRU\real2\a - Copy           real2_2
C:\TMP\BRU\real2\b                  real2_3
C:\TMP\BRU\ads-copy\ADS test.txt    ads-copy_4.txt
C:\TMP\BRU\ads-copy\ads test2.TXT   ads-copy_5.TXT
C:\TMP\BRU\ads-copy\ADS.wim         ads-copy_6.wim


Drag your wanted directories into BRU.


A gotcha there, that might matter to you, is that the numbering is sequential, throughout,
Even with 10:Numbering -> Folder enabled.
(This assume you have dragged separate directories into BRU in which case 10:Numbering -> Folder does not see each "directory" as something it should reset on.

If the all the directories were subdirectories to a common parent, then 10:Numbering -> Folder would reset the count, on each directory.)
therube
 
Posts: 1319
Joined: Mon Jan 18, 2016 6:23 pm


Return to BRU Support