Page 1 of 1

Rename files to folder name + more

PostPosted: Thu Oct 15, 2020 12:32 pm
by mattm3
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 :)

Re: Rename files to folder name + more

PostPosted: Thu Oct 15, 2020 4:11 pm
by therube
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

Re: Rename files to folder name + more

PostPosted: Thu Oct 15, 2020 4:19 pm
by mattm3
Hi therube,

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

Thanks for the help :)