[SOLVED] change multiple files name in multiple folders at one shot

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
fdsazcw123
Junior Member
Junior Member
Posts: 48
Joined: 2018-11-23, 09:16 UTC

[SOLVED] change multiple files name in multiple folders at one shot

Post by *fdsazcw123 »

hi, need some help here. much appreciated

i have multiple folders, folder name is a, b, c, etc.

what i want is rename files in these folders with the parent folder name.

for example, files in "folder a" would be renamed to "a-1, a-2, a-3", files in "folder b" would be renamed to "b-1, b-2, b-3"

right now, i can rename one folder at a time with [P] function in multi rename tool of tc.

but, is it possible to change multiple files name in multiple folders at one shot.

thanks, and stay safe.
Last edited by fdsazcw123 on 2020-06-10, 04:52 UTC, edited 1 time in total.
User avatar
nsp
Power Member
Power Member
Posts: 1805
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: change multiple files name in multiple folders at one shot

Post by *nsp »

You cannot reset counter by folder !
Using naming colision TC > 9

Use BranchView for selected folder [ctrl]+[shift]+B
Select all files and rename
What you can do is to use naming colision to have almost what you need.
You rename to [P]-1 in Name field
Accept automatic renaming.

reload will not work due to a bug.

Select all files
rename using
[N] in name field
check regex and use

Code: Select all

Search For:1 \((.+)\)$
Replace with: $1
You will have counter by folder and extension..
ie in folder a : a-1.txt a-2.txt ... a-99.txt a-1.ini a-1.jpg
fdsazcw123
Junior Member
Junior Member
Posts: 48
Joined: 2018-11-23, 09:16 UTC

Re: change multiple files name in multiple folders at one shot

Post by *fdsazcw123 »

nsp wrote: 2020-06-09, 09:37 UTC You cannot reset counter by folder !
Using naming colision TC > 9

Use BranchView for selected folder [ctrl]+[shift]+B
Select all files and rename
What you can do is to use naming colision to have almost what you need.
You rename to [P]-1 in Name field
Accept automatic renaming.

reload will not work due to a bug.

Select all files
rename using
[N] in name field
check regex and use

Code: Select all

Search For:1 \((.+)\)$
Replace with: $1
You will have counter by folder and extension..
ie in folder a : a-1.txt a-2.txt ... a-99.txt a-1.ini a-1.jpg
it works!
thank you so much, really appreciated, stay safe.
Post Reply