Get Full YYYY-MM-DD Into Folder name

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?

Could you please show us a screenshot 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).

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].

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?

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.

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

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

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

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

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.

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

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

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

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

Action:


Convert Tag -> Tag

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.

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

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

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).

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

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

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


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

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):


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%