# How to create Action for Convert Filename - Tag

**URL:** https://community.mp3tag.de/t/how-to-create-action-for-convert-filename-tag/19692
**Category:** Support
**Created:** [January 15, 2018, 11:03am UTC](https://community.mp3tag.de/t/how-to-create-action-for-convert-filename-tag/19692 "2018-01-15T11:03:33Z")
**Posts on this page:** 1
**Showing post:** 4

<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: [January 15, 2018, 11:24am UTC](https://community.mp3tag.de/t/how-to-create-action-for-convert-filename-tag/19692/4 "2018-01-15T11:24:16Z")

</div>

> [@Henrique Barcelos](#):
>
> Thanks for the help!
> 
> I just need some changes now. I wanted that the track could be in the format "77", when the filename is 077. How could I do it?

Action "FOrmat value" for track  
Format string: $num(%track%,1)

> [@Henrique Barcelos](#):
>
> And about the Genre doubt, I'll try to explain again. I want to select all tracks at once and play that action. Some of the tracks have empty Genres, and I would like to replace empty blank spaces with the word "Unknown". Can I do it?

Format value for GENRE  
Format string: $if2(%genre%,unknown)

> [@Henrique Barcelos](#):
>
> If you are willing to help me with this one last question:
> 
> I also want to replace the value of COPYRIGHT with the same COPYRIGHT value, with the marker "℗ " before. How can I do that? Thank you in advance!

see faqs: [/t/967/1](https://community.mp3tag.de/t/967/1)

---

_[View the full topic](https://community.mp3tag.de/t/how-to-create-action-for-convert-filename-tag/19692)._
