# Renaming files with track and disk info

**URL:** https://community.mp3tag.de/t/renaming-files-with-track-and-disk-info/60457
**Category:** Support
**Created:** [March 23, 2023, 12:46pm UTC](https://community.mp3tag.de/t/renaming-files-with-track-and-disk-info/60457 "2023-03-23T12:46:08Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![West55](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/c4cdca/32.png) [@West55](https://community.mp3tag.de/u/West55)
#### Post date: [March 23, 2023, 12:46pm UTC](https://community.mp3tag.de/t/renaming-files-with-track-and-disk-info/60457/1 "2023-03-23T12:46:08Z")

</div>

Hello, I'm renaming files using track and disc information, but the app insists on including the total disc number and total track number in the file name.

A string of **track number** + **track title** ought to render as:

> 1 Like a Rolling Stone

but the app renders it as:

> 1\_9 Like a Rolling Stone

This is because it is track 1 of 9. I don't want this "of" information in my filenames. It does the same thing for discs.

I could remove all of this "of" information from my files, and then the app would rename them properly. But I want the information in the files, just not in the files names.

Question: is it possible to rename a file using just the track number and disc number without all of this extra information? Thanks.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [March 23, 2023, 12:50pm UTC](https://community.mp3tag.de/t/renaming-files-with-track-and-disk-info/60457/2 "2023-03-23T12:50:06Z")

</div>

The filename format depends on the format string you're using for renaming the files. See [First Steps → Renaming Files based on Tags](https://docs.mp3tag.de/getting-started/first-steps/#renaming-files-based-on-tags) for the example you've given.

---

<div class="post-metadata">

### Author: ![West55](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/w/c4cdca/32.png) [@West55](https://community.mp3tag.de/u/West55)
#### Post date: [March 23, 2023, 1:17pm UTC](https://community.mp3tag.de/t/renaming-files-with-track-and-disk-info/60457/3 "2023-03-23T13:17:06Z")

</div>

There is nothing at that link that tells me how to rename a file without the "of" information. Why did you even post it?

Answer this question: Is it even possible to rename a file without the "of" information?

---

<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: [March 23, 2023, 1:30pm UTC](https://community.mp3tag.de/t/renaming-files-with-track-and-disk-info/60457/4 "2023-03-23T13:30:57Z")

</div>

> [@West55](#):
>
> Answer this question

I don't like the tone of this.  
Before you post a question in the support section you are asked to use the search function as a lot of problems have been dealt with before which is also the case for your question, see e.g. here:

> [@Removing total track information from multiple files](https://community.mp3tag.de/t/removing-total-track-information-from-multiple-files/9050/2):
>
> The fastest way i know is the autonumbering wizard (icon in the toolbar or tools menu), as long as the tracks show in the right order in mp3tag. If your albums are in a folder each, you can tick the reset counter for each directory option in the wizard so that you dont have to repeat the process on each album.

---

<div class="post-metadata">

### Author: ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)
#### Post date: [March 23, 2023, 1:48pm UTC](https://community.mp3tag.de/t/renaming-files-with-track-and-disk-info/60457/5 "2023-03-23T13:48:37Z")

</div>

If your actual track fields contains the track and track total (like `1/9`) then using the format of `%track% %title%` will give you exactly that.

To strip off the slash and following disc totals, use the $num function as part of your string.  
`$num(%track%,2) %title%`

This could have been found in the search in a previous thread here.

> [@Convert Tag - Filename](https://community.mp3tag.de/t/convert-tag-filename/2074/2):
>
> Just use $num(%track%,2)

---

<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: [April 26, 2023, 12:47am UTC](https://community.mp3tag.de/t/renaming-files-with-track-and-disk-info/60457/7 "2023-04-26T00:47:59Z")

</div>

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