# Ordnername mit \[FLAC\] oder \[MP3\] am Ende

**URL:** https://community.mp3tag.de/t/ordnername-mit-flac-oder-mp3-am-ende/18071
**Category:** Allgemein
**Created:** [June 28, 2016, 5:04am UTC](https://community.mp3tag.de/t/ordnername-mit-flac-oder-mp3-am-ende/18071 "2016-06-28T05:04:51Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [June 28, 2016, 5:35am UTC](https://community.mp3tag.de/t/ordnername-mit-flac-oder-mp3-am-ende/18071/3 "2016-06-28T05:35:27Z")

</div>

> [@kola](#):
>
> ... Ich will nen Ordner mit folgendem String umbenennen: %year% - %albumartist% - %album% '['%\_tag%']' ...

**Aktion: Tagfeld formatieren Feld: \_DIRECTORY Formatstring: %YEAR%' - '%ALBUMARTIST%' - '%ALBUM%' ['%\_tag%']'**

Wenn man den Ordner in einen anderen Pfad verschieben will, dann kann man das so tun:

**Formatstring: 'T:\TEST\'%YEAR%' - '%ALBUMARTIST%' - '%ALBUM%' ['%\_tag%']'**

Außerdem sollte man berücksichtigen, was 'ohrenkino' in post #2 beschreibt.  
Weil bestimmte Zeichen in Dateipfadnamen und Verzeichnispfadnamen nicht erlaubt sind, muss man diese entfernen oder mit erlaubten Zeichen ersetzen.  
Benutze die Funktion: $validate oder $replace

Siehe auch ...  
[[F] $validate() broken?](https://community.mp3tag.de/t/8311/12)  
[Codec](https://community.mp3tag.de/t/17780/2)

DD.20160628.1032.CEST

**Aktion: Tagfeld formatieren Feld: \_DIRECTORY Formatstring: $validate(%YEAR%' - '%ALBUMARTIST%' - '%ALBUM%' [' $replace(%\_codec%,'Windows Media Audio','WMA','Free Lossless Audio Codec','FLAC','MPEG 1 Layer III','MP3') ']','\_')**

DD.20160628.1854.CEST

---

_[View the full topic](https://community.mp3tag.de/t/ordnername-mit-flac-oder-mp3-am-ende/18071)._
