# Rename If Extension

**URL:** https://community.mp3tag.de/t/rename-if-extension/17710
**Category:** Support
**Created:** [March 2, 2016, 12:41pm UTC](https://community.mp3tag.de/t/rename-if-extension/17710 "2016-03-02T12:41:42Z")
**Posts on this page:** 1
**Showing post:** 6

<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 2, 2016, 3:58pm UTC](https://community.mp3tag.de/t/rename-if-extension/17710/6 "2016-03-02T15:58:32Z")

</div>

> [@faisdlair](#):
>
> Ok but how to add it to the album  
> I Have to create an action but do not know how
> 
> Martin

See the FAQs for that:  
[/t/967/1](https://community.mp3tag.de/t/967/1)

The 3rd example is how to append a string to a field. Instead of the example "xyz" use the field variable, probably %\_tag% and/or %\_bitspersample%.

If you enclose the %\_bitspersample% in square brackets, [%\_bitspersample%] it gets treated like an "if" condition.

---

_[View the full topic](https://community.mp3tag.de/t/rename-if-extension/17710)._
