# Help w/ specific folder renaming based on tags

**URL:** <https://community.mp3tag.de/t/help-w-specific-folder-renaming-based-on-tags/58000>\
**Category:** Support\
**Created:** [July 24, 2022, 8:17pm UTC](https://community.mp3tag.de/t/help-w-specific-folder-renaming-based-on-tags/58000 "2022-07-24T20:17:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiagotxr](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@tiagotxr](https://community.mp3tag.de/u/tiagotxr)\
**Post date:** [July 24, 2022, 8:17pm UTC](https://community.mp3tag.de/t/help-w-specific-folder-renaming-based-on-tags/58000/1 "2022-07-24T20:17:09Z")

</div>

Hi folks! 🙂

So I've been trying to figure out a way to rename my folders in a specific way based on file tags, however I just can't get it right. I've checked multiple topics in the forum, yet none seems to have what I'm looking for (or I'm not searching right).

I would like to have my album folders formatted this way:  
artist - year - album (type) [source-bitrate]

Which would be like this, for example:  
Prince - 1984 - Purple Rain (LP) [DL-320]

I usually include the type (LP, 12'' etc.) in the title of the album, that's no issue there. However, I just can't seem to get the format right for the **source** to be in the same bracket as the **bitrate**. I use a tag named "Format" to tag the source (CD, LP or DL for downloaded files).

The current string I have is this:  
%artist% - %year% - %album% '['%\_bitrate%']'

I just need to find a way to include the source in there somehow.

Thanks a bunch! 😃

---

<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:** [July 24, 2022, 8:22pm UTC](https://community.mp3tag.de/t/help-w-specific-folder-renaming-based-on-tags/58000/2 "2022-07-24T20:22:47Z")

</div>

I’d look at the `MediaType` field. That is the standard one that I use.

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [July 24, 2022, 8:25pm UTC](https://community.mp3tag.de/t/help-w-specific-folder-renaming-based-on-tags/58000/3 "2022-07-24T20:25:57Z")

</div>

You could try something like  
`%artist% - %year% - %album% (%Format%) '['%_bitrate%']'`  
or  
`%artist% - %year% - %album% '['%Format% %_bitrate%']'`  
or  
`%artist% - %year% - %album% '['(%Format%) %_bitrate%']'`

Or what exactly do you mean with "the **source** to be in the same bracket as the **bitrate**"?

---

<div class="post-metadata">

**Author:** ![tiagotxr](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/e68b1a/32.png) [@tiagotxr](https://community.mp3tag.de/u/tiagotxr)\
**Post date:** [July 24, 2022, 8:36pm UTC](https://community.mp3tag.de/t/help-w-specific-folder-renaming-based-on-tags/58000/4 "2022-07-24T20:36:00Z")

</div>

Thanks so much! I think I got it!

%artist% - %year% - %album% '['%Format%-%\_bitrate%']'

That's what I was looking for, I think I was misplacing the apostrophes until now and/or "Format" wasn't capitalized, which yielded different results with everything I had tried so far.

---

<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:** [August 23, 2022, 8:36pm UTC](https://community.mp3tag.de/t/help-w-specific-folder-renaming-based-on-tags/58000/5 "2022-08-23T20:36:30Z")

</div>

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