# Get Full YYYY-MM-DD Into Folder name

**URL:** https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063
**Category:** Support
**Created:** [January 6, 2025, 3:04pm UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063 "2025-01-06T15:04:08Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![malsae](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/8baadc/32.png) [@malsae](https://community.mp3tag.de/u/malsae)
#### Post date: [January 6, 2025, 3:04pm UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/1 "2025-01-06T15:04:08Z")

</div>

Hello, I'm a beginner who came across this file today.

I would like to add the release date of the file that exists in the folder to the front of the folder name

ex: singer - song → [2012.05.05] singer - song

If the release date is not written, it's okay to move on. I need to convert a large number of folder names.

Anyone else appreciate explaining to a beginner in detail?

---

<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: [January 6, 2025, 3:15pm UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/2 "2025-01-06T15:15:12Z")

</div>

Could you please show us a [screenshot](https://community.mp3tag.de/t/hints-for-asking-support-requests/56190#use-screenshots-to-exemplify-the-issue-2) from the current situation and some of your folder names?

From where exactly do you want to read the date?  
Is it already in the format **YYYY-MM-DD** as written in the topic title?  
Or is it written as **[YYYY.MM.DD]** as written in your example text (assuming the first 05 is the month and the second 05 is the day).

---

<div class="post-metadata">

### Author: ![malsae](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/8baadc/32.png) [@malsae](https://community.mp3tag.de/u/malsae)
#### Post date: [January 7, 2025, 1:40am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/3 "2025-01-07T01:40:41Z")

</div>

![4455](https://community.mp3tag.de/uploads/default/original/3X/0/8/086c9cf14cccb1971e0f66be062633f880544cf3.png)

Yes, the release date is written as shown in the picture. 2015-05-03  
I want to recognize this and put it in front of the folder name like [2015.05.03].

---

<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 7, 2025, 6:20am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/4 "2025-01-07T06:20:42Z")

</div>

> [@malsae](#):
>
> release date

Which field are you referring to in MP3tag?  
RELEASETIME, YEAR or \_FILE\_CREATE\_DATE or even \_FILE\_CREATE\_DATETIME?

Once you have found the data source, use an action of the type "Format value" for \_DIRECTORY.

You see possible tag fields in the extended tags dialogue Alt-T. Which of the displayed fields do you want to use to add the data to fhe folder name?

---

<div class="post-metadata">

### Author: ![malsae](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/8baadc/32.png) [@malsae](https://community.mp3tag.de/u/malsae)
#### Post date: [January 7, 2025, 9:43am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/5 "2025-01-07T09:43:55Z")

</div>

yes, I want a release time.  
Below is an example of a folder name.

Aimer - Brave Shine (TV size) (2015) [FLAC 16B-44.1kHz]  
↓  
[2015.05.13] Aimer - Brave Shine (TV size) [FLAC 16B-44.1kHz]

What should I do to make it this way? I'd appreciate it if you could explain it in plain terms as a beginner.

---

<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 7, 2025, 9:48am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/6 "2025-01-07T09:48:06Z")

</div>

You have to have a data source somewhere as MP3tag cannot make up such dates.  
That is why I asked about

> [@ohrenkino](#):
>
> RELEASETIME, YEAR or \_FILE\_CREATE\_DATE or even \_FILE\_CREATE\_DATETIME

and which of these fields should be the source.  
A screenshot of the

> [@ohrenkino](#):
>
> extended tags dialogue Alt-T

may help as that shows the field name and the data.

---

<div class="post-metadata">

### Author: ![malsae](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/8baadc/32.png) [@malsae](https://community.mp3tag.de/u/malsae)
#### Post date: [January 7, 2025, 9:55am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/7 "2025-01-07T09:55:11Z")

</div>

![6666666](https://community.mp3tag.de/uploads/default/original/3X/8/8/88dea9036ecd24650b27177f789994bbdbdee3f4.png)

I want a release day This is 2015-05-13 inside the screenshot.

---

<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 7, 2025, 9:57am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/8 "2025-01-07T09:57:23Z")

</div>

But that is not the extended tags dialogue from MP3tag.  
The MP3tag dialogue shows the field names which then can be used to modify the folder name.

---

<div class="post-metadata">

### Author: ![malsae](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/8baadc/32.png) [@malsae](https://community.mp3tag.de/u/malsae)
#### Post date: [January 7, 2025, 10:01am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/9 "2025-01-07T10:01:17Z")

</div>

![4477](https://community.mp3tag.de/uploads/default/original/3X/5/0/508948dad43cf52800bcca81a84b29a71804964c.png)

Sorry I'm not good at English. Do you mean open the file in mp3tag?

---

<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: [January 7, 2025, 10:02am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/10 "2025-01-07T10:02:20Z")

</div>

Now press Alt + T on this file to view the Extended Tags dialogue.  
Show us this screenshot, please.

---

<div class="post-metadata">

### Author: ![malsae](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/8baadc/32.png) [@malsae](https://community.mp3tag.de/u/malsae)
#### Post date: [January 7, 2025, 10:03am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/11 "2025-01-07T10:03:27Z")

</div>

![1133](https://community.mp3tag.de/uploads/default/original/3X/b/1/b1297602df7216e3deea527b9a13d19dcfecddb4.png)

---

<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 7, 2025, 10:07am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/12 "2025-01-07T10:07:36Z")

</div>

Try an Action of the type "Format value" or use Convert\>Tag-Tag for \_DIRECTORY  
Format string: `'['$replace($regexp(%year%,(.*) .*,$1),-,.)']' - %_directory%`

---

<div class="post-metadata">

### Author: ![malsae](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/8baadc/32.png) [@malsae](https://community.mp3tag.de/u/malsae)
#### Post date: [January 7, 2025, 10:13am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/13 "2025-01-07T10:13:08Z")

</div>

![6689](https://community.mp3tag.de/uploads/default/original/3X/4/9/49d0871ba06bc00ffce6a77d2e443eb3f1c51010.png)

I did this, and out of a total of 0 files, I got a notification that 1 file was changed. As a result, nothing happened

---

<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: [January 7, 2025, 10:13am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/14 "2025-01-07T10:13:28Z")

</div>

> [@malsae](#):
>
> I'd appreciate it if you could explain it in plain terms as a beginner.

Action:

 ![2025.01.07 - 11-11-41 - Format_value](https://community.mp3tag.de/uploads/default/original/3X/6/b/6b94252e912d605179ec87266cb686c55ebf2fa7.png)  
Convert Tag -\> Tag  
 ![image](https://community.mp3tag.de/uploads/default/original/3X/7/d/7d39963c214bb302c11987b349a27dcced7a1eb9.png)

As field, you have to use `_DIRECTORY` as @ohrenkino told you, not `TITLE`.  
You want to modify the folder name = \_DIRECTORY, not the TITLE field inside your track.

---

<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 7, 2025, 10:17am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/15 "2025-01-07T10:17:04Z")

</div>

> [@malsae](#):
>
> As a result, nothing happened

You did not use the correct field: \_DIRECTORY would be correct, not TITLE and you did not apply the whole suggestion but left out `]'` which leads to the invalid syntax message

---

<div class="post-metadata">

### Author: ![malsae](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/8baadc/32.png) [@malsae](https://community.mp3tag.de/u/malsae)
#### Post date: [January 7, 2025, 10:17am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/16 "2025-01-07T10:17:37Z")

</div>

I'm really sorry, but can you tell me where I can get into "format value"? I'm  
I only found "tag-tag"

---

<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: [January 7, 2025, 10:19am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/17 "2025-01-07T10:19:05Z")

</div>

The result of an Action and the use of Convert is the same.  
Convert has the advantage that you immediately see the expected result (without applying the format string).

> [@malsae](#):
>
> where I can get into "format value"?

 ![image](https://community.mp3tag.de/uploads/default/original/3X/e/f/ef6e7c2480a5c8887ecc834e178ca7ddc6b71516.png)

And you also left out the $-sign in front of `$replace`.  
Please copy & paste the entire format string as suggested.

---

<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 7, 2025, 10:19am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/18 "2025-01-07T10:19:26Z")

</div>

Tag-Tag is good enough - Format value is an action.  
Please have a look at the documentation about actions

> **[Actions – Mp3tag Documentation](https://docs.mp3tag.de/actions/)**
>
> Documentation on Quick Actions and Action Groups that covers replace text, case conversion, tag to tag conversion, duplicate field handling, batch cover import/export, and more. Mp3tag is the universal Tag Editor.

---

<div class="post-metadata">

### Author: ![malsae](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/8baadc/32.png) [@malsae](https://community.mp3tag.de/u/malsae)
#### Post date: [January 7, 2025, 10:27am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/19 "2025-01-07T10:27:21Z")

</div>

I tried as you explained, but the result is a new folder called [2015.05.13] - [replace(,$1) - %\_directory%].

 ![1123](https://community.mp3tag.de/uploads/default/original/3X/8/6/86e3d8fb8537633815df39bf0bb143eb1e9bd230.png)  
 ![1124](https://community.mp3tag.de/uploads/default/original/3X/1/5/15a39f22cf1811e53ea0c5f5f8c903c1bea2b967.png)

I don't want to create a new folder, but I want to change the name of the existing folder, is it possible?

---

<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: [January 7, 2025, 10:29am UTC](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063/20 "2025-01-07T10:29:53Z")

</div>

In the second screenshot you left out the $ - sign in front of `$replace` again.

If you use Convert Tag -\> Tag you can see the result immediately (see yellow highlighted part):

 ![image](https://community.mp3tag.de/uploads/default/original/3X/a/9/a9c263e92ea939b5f576e8de9ebdb788cda45de3.png)  
As long as you see "Invalid syntax" as preview, you have an error in your Format String.  
Please copy & paste the given Format string and check it carefully!

Format string:  
`'['$replace($regexp(%year%,(.*) .*,$1),-,.)']' - %_directory%`

[Next page](https://community.mp3tag.de/t/get-full-yyyy-mm-dd-into-folder-name/67063.md?page=2)
