MRT: Need counter that starts new in each folder.

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Korok
Junior Member
Junior Member
Posts: 2
Joined: 2015-06-09, 20:04 UTC

MRT: Need counter that starts new in each folder.

Post by *Korok »

Hello

I would like to rename a lot of files in many directories with a counter that starts new in each folder in one step.
Situation
Root

-Folder1
--testA.jpg
--testB.jpg
--testC.jpg

-Folder2
--helloA.jpg
--helloB.jpg
--helloC.jpg

And so on.

My wish is to rename the ".jpg" so that it looks like this.

Root

-Folder1
--Folder1 testA 001.jpg
--Folder1 testB 002.jpg
--Folder1 testC 003.jpg

-Folder2
--Folder2 helloA 001.jpg
--Folder2 helloB 002.jpg
--Folder2 helloC 003.jpg

As I know there is no function to rename Files in sub folder so I used the search function on root folder selected only the ".jpg" files.
Then I used the rename tool with [P][N][C] (Counter set to 3 digits).
But the result was that the counter did not reset in each folder but counted on with the result to be:

Root

-Folder1
--Folder1 testA 001.jpg
--Folder1 testB 002.jpg
--Folder1 testC 003.jpg

-Folder2
--Folder2 helloA 004.jpg
--Folder2 helloB 005.jpg
--Folder2 helloC 006.jpg

I am renaming a lot of folders so a solution if possible would be awesome.
If I don't reset the Counter it would go into the ten thousands so I would rename each folder separately. Before I start I at least wanted to try to ask the experts ^^

Thanks for reading
User avatar
Dalai
Power Member
Power Member
Posts: 10035
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

AFAIK this is not possible with TC, unfortunately. It has been discussed many times, and there might be a suggestion thread to implement that feature.

However, you can use Bulk Rename Utility.

MfG Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

MUT: Serialize but reset on folder change. Restart each fold

Post by *Stefan2 »

I would agree with Dalai, this is a task for a dedicated renamer tool. E.g.:


FROM:
Folder1\testA.jpg
Folder1\testB.jpg
Folder1\testC.jpg

Folder2\helloA.jpg
Folder2\helloB.jpg
Folder2\helloC.jpg

TO:
Folder1\testA 001.jpg
Folder1\testB 002.jpg
Folder1\testC 003.jpg

Folder2\helloA 001.jpg
Folder2\helloB 002.jpg
Folder2\helloC 003.jpg

USE:

den4b ReNamer (http://www.den4b.com/?x=products)
Filters: Add files within folders
1 Rule) Insert: Insert " " as Suffix (skip extension)
2 Rule) Serialize: Serialize Incremental from 1 step 1 repeat 1 (reset index if folder changes) and pad to length 3 as Suffix (before extension)

Bulk Rename Utility (http://www.bulkrenameutility.co.uk/Main_Intro.php)
Selection(12) [x]Subfolders
Numbering(10) Mode:Suffix; Pad:3; Sep: ; [x]Folder

Siren (http://www.scarabee-software.net/en/siren.html)
File > Options : Numbers : Size 3
File > Load Subdirectories
Expression: %b %np.%e


All renamers are free and portable and usable from within TC.
Korok
Junior Member
Junior Member
Posts: 2
Joined: 2015-06-09, 20:04 UTC

Post by *Korok »

Hello

Thanks, today I tryed Bulk Rename Utility and it worked for my needs.

I am so used to TC that I at least wanted to try to ask. Could have been posible that I just didn't know how to use it in this case.

Thank you for the fast support

cya
Post Reply