Rename files to folder name + more

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

Rename files to folder name + more

Postby mattm3 » Thu Oct 15, 2020 12:32 pm

Hi,

Does anyone know how I can rename my files to the name of the folder but remove the spaces and replace with dashes (-), change the case to lowercase and add a number onto the end. For example, I would like it to be like the following:

The folder name could be "Intel i7 8th Gen Desktop Computer" so the files in this folder to be renamed to "intel-i7-8th-gen-desktop-computer-01"

Can this be done in one or would I need to rename the folder files to the folder name first and then remove the space, change the case and add a number onto the end?

Thanks :)
mattm3
 
Posts: 2
Joined: Thu Oct 15, 2020 12:22 pm

Re: Rename files to folder name + more

Postby therube » Thu Oct 15, 2020 4:11 pm

Looks like the 3:Replace & 4:Case will need to be done after.

so

2:Name -> Remove
9:Append Folder Name -> Prefix
10:Numbering -> Suffix, Start 1, Pad 2, Sep -

then

3:Replace -> <sp>, With -
4:Case -> lower
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm

Re: Rename files to folder name + more

Postby mattm3 » Thu Oct 15, 2020 4:19 pm

Hi therube,

Wow a lot simpler than I thought, that's worked perfectly!

Thanks for the help :)
mattm3
 
Posts: 2
Joined: Thu Oct 15, 2020 12:22 pm


Return to BRU Support


cron