# Removing total track information from multiple files

**URL:** https://community.mp3tag.de/t/removing-total-track-information-from-multiple-files/9050
**Category:** Support
**Created:** [September 29, 2009, 11:35am UTC](https://community.mp3tag.de/t/removing-total-track-information-from-multiple-files/9050 "2009-09-29T11:35:14Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![martinlooker](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/54ee81/32.png) [@martinlooker](https://community.mp3tag.de/u/martinlooker)
#### Post date: [September 29, 2009, 11:35am UTC](https://community.mp3tag.de/t/removing-total-track-information-from-multiple-files/9050/1 "2009-09-29T11:35:14Z")

</div>

Some of my files have track number and total tracks listed. I would like to remove the total tracks part of this field - is there anyway to do this automatically for multiple files (basically I'm looking to handle this as a seperate field rather than having to handle two fields in one).

Any suggestions ?

Regards, Martin.

---

<div class="post-metadata">

### Author: ![Th3ProphetMan](https://community.mp3tag.de/user_avatar/community.mp3tag.de/th3prophetman/32/295_2.png) [@Th3ProphetMan](https://community.mp3tag.de/u/Th3ProphetMan)
#### Post date: [September 29, 2009, 2:35pm UTC](https://community.mp3tag.de/t/removing-total-track-information-from-multiple-files/9050/2 "2009-09-29T14:35:38Z")

</div>

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: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [September 29, 2009, 3:40pm UTC](https://community.mp3tag.de/t/removing-total-track-information-from-multiple-files/9050/3 "2009-09-29T15:40:39Z")

</div>

Copy the total track to your preferred tag field:

_Action type:_ **Format value**  
_Field:_ **FIELD**  
_Format string:_ **$ifgreater(%\_total%,0,%\_total%,%field%)**

Separate the track field from total tracks:

_Action type:_ **Format value**  
_Field:_ **TRACK**  
_Format string:_ **[$num(%track%,1)]**

---

<div class="post-metadata">

### Author: ![laura\_27](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/8491ac/32.png) [@laura\_27](https://community.mp3tag.de/u/laura_27)
#### Post date: [November 1, 2011, 6:45pm UTC](https://community.mp3tag.de/t/removing-total-track-information-from-multiple-files/9050/4 "2011-11-01T18:45:23Z")

</div>

Thank you. Could you tell me how to make it so that when you copy the total track number to the separate field, it shows with a leading zero? ie. track x/8 becomes '08' in the tracktotal field?

---

<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: [November 1, 2011, 7:05pm UTC](https://community.mp3tag.de/t/removing-total-track-information-from-multiple-files/9050/5 "2011-11-01T19:05:31Z")

</div>

create an action of the type Format Tag field for TotalTRACK and enter as format string:  
$num(%totaltrack%,2)  
for 2 digits per totaltracknumber or  
$num(%totaltrack%,3)  
for 3 digits per totaltracknumber.

---

<div class="post-metadata">

### Author: ![laura\_27](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/8491ac/32.png) [@laura\_27](https://community.mp3tag.de/u/laura_27)
#### Post date: [November 2, 2011, 12:06pm UTC](https://community.mp3tag.de/t/removing-total-track-information-from-multiple-files/9050/6 "2011-11-02T12:06:00Z")

</div>

Thanks for your help but that didn't work. It entered '00' in each field rather than '08'.

---

<div class="post-metadata">

### Author: ![laura\_27](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/8491ac/32.png) [@laura\_27](https://community.mp3tag.de/u/laura_27)
#### Post date: [November 2, 2011, 12:11pm UTC](https://community.mp3tag.de/t/removing-total-track-information-from-multiple-files/9050/7 "2011-11-02T12:11:42Z")

</div>

Never mind, I fixed it to %tracktotal% instead of %totaltrack%. Thank you!

---

<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: [February 9, 2026, 12:21pm UTC](https://community.mp3tag.de/t/removing-total-track-information-from-multiple-files/9050/8 "2026-02-09T12:21:49Z")

</div>


