# Rename Filenames for Multiple (1000's) of Files

**URL:** <https://community.mp3tag.de/t/rename-filenames-for-multiple-1000s-of-files/51117>\
**Category:** Support\
**Created:** [December 11, 2020, 2:41am UTC](https://community.mp3tag.de/t/rename-filenames-for-multiple-1000s-of-files/51117 "2020-12-11T02:41:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GoleyC](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/9fc348/32.png) [@GoleyC](https://community.mp3tag.de/u/GoleyC)\
**Post date:** [December 11, 2020, 2:41am UTC](https://community.mp3tag.de/t/rename-filenames-for-multiple-1000s-of-files/51117/1 "2020-12-11T02:41:44Z")

</div>

Just got MP3Tag and love it so far. Been using it to update album art.

However, have over 118,000 music files that I would like to rename. I started about a month ago re-ripping my music collection to be loseless However, I noticed that my naming convention wasn't correct for how I would like for it to be. So I started ripping with my new naming convention...but the older ripped file names are already ripped and I would rather not have to re-rip them and re-do the album cover art.

Would like to do this the easiest way possible and be seamless.

Want to rename all the files from the following:

01 music file name.flac  
02 music file name.flac  
03 music file name.flac

would like to rename them to the following ( adding the hypen after the track number)

01 - music file name.flac  
02 - music file name.flac  
03 - music file name.flac

I have read that MP3Tag can do this, how and what would be the command expression to accomplish this?

Thanks for any help and how-to in this!

Craig

---

<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:** [December 11, 2020, 6:17am UTC](https://community.mp3tag.de/t/rename-filenames-for-multiple-1000s-of-files/51117/2 "2020-12-11T06:17:00Z")

</div>

What have stored in the tags?  
It should be easy to rename the files with data from the tags with the function Convert\>Tag-Filename  
Format string: $num(%track%,2) - %title%

If you have not put anything into the tags, then it would be a good idea to fill them now using the function Convert\>Filename-Tag  
Mask: %track% %title%  
Then use Convert\>Tag-Filename as described above.

---

<div class="post-metadata">

**Author:** ![GoleyC](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/9fc348/32.png) [@GoleyC](https://community.mp3tag.de/u/GoleyC)\
**Post date:** [December 11, 2020, 2:33pm UTC](https://community.mp3tag.de/t/rename-filenames-for-multiple-1000s-of-files/51117/3 "2020-12-11T14:33:54Z")

</div>

All of these tags ( Track, Filename, Title, Artist, Album Artist, Album, Year, Genre) have data in them. So this should be doable.

I'll test out this function on a few files and see how it goes.

Thanks!

---

<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:** [December 11, 2020, 4:17pm UTC](https://community.mp3tag.de/t/rename-filenames-for-multiple-1000s-of-files/51117/4 "2020-12-11T16:17:55Z")

</div>

You could filter for those files with  
`NOT %_filename% HAS -`  
or with  
`NOT %_filename% MATCHES "^\d+ -"`

---

<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:28pm UTC](https://community.mp3tag.de/t/rename-filenames-for-multiple-1000s-of-files/51117/5 "2026-02-09T12:28:58Z")

</div>


