# Changing part of filename

**URL:** <https://community.mp3tag.de/t/changing-part-of-filename/68557>\
**Category:** Support\
**Created:** [May 20, 2025, 12:49pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557 "2025-05-20T12:49:46Z")\
**Posts on this page:** 18\
**Page:** 2

<div class="post-metadata">

**Author:** ![Light](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@Light](https://community.mp3tag.de/u/Light)\
**Post date:** [May 20, 2025, 2:44pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/21 "2025-05-20T14:44:44Z")

</div>

Yes, it is not changing the file name.

---

<div class="post-metadata">

**Author:** ![Light](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@Light](https://community.mp3tag.de/u/Light)\
**Post date:** [May 20, 2025, 2:47pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/22 "2025-05-20T14:47:07Z")

</div>

it's 455 files, but in groups of 34, so fare.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [May 20, 2025, 2:47pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/23 "2025-05-20T14:47:51Z")

</div>

> [@Light](#):
>
> Yes, it is not changing the file name

I know, of course not.  
That is why I asked you to check whether the DISCNUMBER field contains the correct number for each group that should have the same number.

---

<div class="post-metadata">

**Author:** ![Light](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@Light](https://community.mp3tag.de/u/Light)\
**Post date:** [May 20, 2025, 3:02pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/24 "2025-05-20T15:02:46Z")

</div>

![Name change 2](https://community.mp3tag.de/uploads/default/original/3X/1/e/1efbc4b00c0b7a1749866d17bd32890156f92386.jpeg)  
This is how it looks.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [May 20, 2025, 3:05pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/25 "2025-05-20T15:05:36Z")

</div>

I think you still have to define the "Next disc on change of" where I would suggest TITLE.  
Do not tick "Save count of discs".  
To check if the result is OK, see the extended tags dialogue Alt-T - and be so kind to share a screenshot of that dialogue for a single file.

---

<div class="post-metadata">

**Author:** ![Light](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@Light](https://community.mp3tag.de/u/Light)\
**Post date:** [May 20, 2025, 3:23pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/26 "2025-05-20T15:23:19Z")

</div>

Thanks for the feedback, but I thought there was an easy way to do it, that someone had already tried on the filename itself 🙂

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [May 20, 2025, 3:37pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/27 "2025-05-20T15:37:08Z")

</div>

The problem is not the manipulation of the filename - but the special grouping that you have in mind.  
No program can guess where you want to increase the number unless you give a criterion that tells the program when to change something.

It is a pity really, that you did not supply the requested information.  
So this means in the end that you either have to do it manually, half automatic with the $replace() function or with a different program for file handling.

---

<div class="post-metadata">

**Author:** ![Light](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@Light](https://community.mp3tag.de/u/Light)\
**Post date:** [May 20, 2025, 4:30pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/28 "2025-05-20T16:30:11Z")

</div>

Yes, I think you are right, but there is no increase in number, every croup of name will have same number.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [May 20, 2025, 4:36pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/29 "2025-05-20T16:36:02Z")

</div>

Here is another attempt:  
If the current numbers are correct, only that they have to be increased by 1, then try  
Convert\>Tag-Tag for \_FILENAME  
Format string: `$num($add($num(%_filename%,3),1),3) - $regexp(%_filename%,^\d+ - ,)`

---

<div class="post-metadata">

**Author:** ![Light](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@Light](https://community.mp3tag.de/u/Light)\
**Post date:** [May 20, 2025, 5:45pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/30 "2025-05-20T17:45:42Z")

</div>

No different outcome, I do not think that program work on file names.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [May 20, 2025, 5:50pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/31 "2025-05-20T17:50:07Z")

</div>

That is most astounding as it looks like this in my machine:

 ![grafik](https://community.mp3tag.de/uploads/default/original/3X/d/a/da74c19d8eb4c8c92366bccea04a598ca23d83c1.png)  
and that clearly shows that the 000 is changed to 001

---

<div class="post-metadata">

**Author:** ![Light](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@Light](https://community.mp3tag.de/u/Light)\
**Post date:** [May 20, 2025, 6:14pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/32 "2025-05-20T18:14:43Z")

</div>

It worked, I just had to type the name at the top as I couldn't choose from the list, thank you very much 🙂

---

<div class="post-metadata">

**Author:** ![Light](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@Light](https://community.mp3tag.de/u/Light)\
**Post date:** [May 20, 2025, 6:29pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/33 "2025-05-20T18:29:59Z")

</div>

Can you explain to me how the 3 numbers work? I entered 1 and 2 and it worked fine, but from 3 on it was wrong.

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [May 20, 2025, 6:32pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/34 "2025-05-20T18:32:55Z")

</div>

> [@Light](#):
>
> I entered 1 and 2 and it worked fine, but from 3 on it was wrong.

Where did you enter numbers?  
My format string was intended to add a 1 to any leading number and write that back. So 5 \> 6, 4 \> 5, 3 \> 4, 2 \> 3, 1 \> 2, 0 \> 1.

---

<div class="post-metadata">

**Author:** ![Light](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@Light](https://community.mp3tag.de/u/Light)\
**Post date:** [May 20, 2025, 6:39pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/35 "2025-05-20T18:39:08Z")

</div>

In the middle, I tried a little again, and I got it to work.

---

<div class="post-metadata">

**Author:** ![Light](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/2acd7d/32.png) [@Light](https://community.mp3tag.de/u/Light)\
**Post date:** [May 20, 2025, 7:03pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/36 "2025-05-20T19:03:55Z")

</div>

Sometimes it comes up with 2 numbers, both the one I change from and the one I change to.

 ![Name change 3](https://community.mp3tag.de/uploads/default/original/3X/f/c/fc277a3515c145f070601453eeb2b3308a5675f0.jpeg)

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [May 20, 2025, 7:07pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/37 "2025-05-20T19:07:51Z")

</div>

The hyphen in the original filename is no "minus" character but something else (looks longer).  
So the original number does not get deleted as that checks for a pattern "number followed by space and minus".

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [June 19, 2025, 7:08pm UTC](https://community.mp3tag.de/t/changing-part-of-filename/68557/38 "2025-06-19T19:08:33Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

[Previous page](https://community.mp3tag.de/t/changing-part-of-filename/68557.md?page=1)
