# How to rename a filename- starting at a certain track number

**URL:** https://community.mp3tag.de/t/how-to-rename-a-filename-starting-at-a-certain-track-number/18884
**Category:** Support
**Created:** [April 12, 2017, 2:47pm UTC](https://community.mp3tag.de/t/how-to-rename-a-filename-starting-at-a-certain-track-number/18884 "2017-04-12T14:47:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![gcapp](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/e19b73/32.png) [@gcapp](https://community.mp3tag.de/u/gcapp)
#### Post date: [April 12, 2017, 2:47pm UTC](https://community.mp3tag.de/t/how-to-rename-a-filename-starting-at-a-certain-track-number/18884/1 "2017-04-12T14:47:09Z")

</div>

Hello - I am new to mp3tag. To this point it is a very useful tool!!

I have a question - I am trying to rename a bunch of filenames, starting with a certain track number.

Example: I have a filenames like this:  
01 - desperado  
02 - life is good  
03 - where are you

I would like to renumber the tracks, starting at 12, so it looks like:  
12 - desperado  
13 - life is good  
14 - where are you

When I go to Tag - Filename, I managed to manipulate the code to a certain point, but I get stuck how to put the code in to start the renaming at a certain track number.

I have this for code:  
$num(%track%,2) - %title%

How do I add the code to have the track start renumbering at 12??

Any help would be appreciated

---

<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: [April 12, 2017, 3:15pm UTC](https://community.mp3tag.de/t/how-to-rename-a-filename-starting-at-a-certain-track-number/18884/2 "2017-04-12T15:15:20Z")

</div>

To me this looks a lot like the filename.  
What about the field TRACK?  
Do you want to add 10 to that, too?  
Then use the numbering wizard and enter 11 as starting value.

If you have not yet filled the tags, use the filename as source with the function  
Convert\>Filename - Tag  
Format string: %dummy% - %title%

After that, create new filenames with the function  
Convert\>Tag-Filename  
Format string: $num(%track%,2) - %title%

Fiddling about with the just filename (and not the tag fields) is a little more complicated.

---

<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: [July 2, 2024, 6:54am UTC](https://community.mp3tag.de/t/how-to-rename-a-filename-starting-at-a-certain-track-number/18884/4 "2024-07-02T06:54:33Z")

</div>

> [@gcapp](#):
>
> $num(%track%,2) - %title%

Even though for inexplcable reasons this old thread popped up again, I still feel obliged to deliver a proper solution:  
To add an offset to an existing track number use  
`$num($add(%track%,11),2)`  
which adds 11 to the actual TRACK, so that 1+11=12

---

<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: [August 1, 2024, 6:55am UTC](https://community.mp3tag.de/t/how-to-rename-a-filename-starting-at-a-certain-track-number/18884/5 "2024-08-01T06:55:18Z")

</div>

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