# Executing multiple operations (tag+file name) after another

**URL:** https://community.mp3tag.de/t/executing-multiple-operations-tag-file-name-after-another/65542
**Category:** Support
**Created:** [August 10, 2024, 11:20am UTC](https://community.mp3tag.de/t/executing-multiple-operations-tag-file-name-after-another/65542 "2024-08-10T11:20:42Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![modernideas](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@modernideas](https://community.mp3tag.de/u/modernideas)
#### Post date: [August 10, 2024, 11:20am UTC](https://community.mp3tag.de/t/executing-multiple-operations-tag-file-name-after-another/65542/1 "2024-08-10T11:20:42Z")

</div>

Hi, I think I have a challenging one:  
my favourite podcast has changed its file naming format. Instead of a nice [podcast name]-year-month-date [title].mp3 format I now get random number-another random number.mp3

Call me picky, but I'd like to archive them the way I've done the past years. I like to revisit things, and the numbering thing makes it hard and annoying.

So I've contrived a way:

- the tag contains the podcast's date, along with a lot of other information  
[speaker+guest+random stuff+podcast title+(day.month.year).mp3]

so what I do is:  
tag -\> file name:  
%title%

file name: -\> tag  
%dummy% podcast title (%track%)

tag -\> file name::  
%track%

file name: -\> track  
%track%.%composer%.%%bpm% [I picked there tags randomly, TBH]

tag -\> file name::  
podcast title\_%bpm%-%composer%-%track%\_%title%

This means a lot of clicking. So, after a long introduction: is there a way to do this in one click? I looked into actions, but this seemed different, I could not find an option for the file names, and searched for batch conversion, but only got info on renaming multiple albums, but not several actions after another.

Any help appreciated...

---

<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: [August 10, 2024, 11:49am UTC](https://community.mp3tag.de/t/executing-multiple-operations-tag-file-name-after-another/65542/2 "2024-08-10T11:49:15Z")

</div>

You can combine multiple different [Actions](https://docs.mp3tag.de/actions/) into one [Action Group](https://docs.mp3tag.de/actions/#action-groups).  
In such an Action Group, the individual steps will be executed one after the other automatically.

Of course you have to be sure that your Actions are working in the defined order.

---

<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: [August 10, 2024, 12:15pm UTC](https://community.mp3tag.de/t/executing-multiple-operations-tag-file-name-after-another/65542/3 "2024-08-10T12:15:20Z")

</div>

> [@modernideas](#):
>
> I looked into actions, but this seemed different, I could not find an option for the file names

You could choose "Format Value" as Action type to rename your file names.

> **[Format Value – Mp3tag Documentation](https://docs.mp3tag.de/actions/format/)**
>
> Documentation on the Format Value action type that can be performed as Quick Action or as reusable workflow from Action Groups. Mp3tag is the universal Tag Editor.

The most simple Format string to rename your  
Field: \_FILENAME  
would be  
`%TITLE%`  
This would rename your existing filename with the content of your tag TITLE.  
 ![image](https://community.mp3tag.de/uploads/default/original/3X/d/0/d0f78fcbe43f4cca3a5d307d47e06d79f44bb9ab.png)

You can choose whatever you like as Format string, for example also your  
`podcast title_%bpm%-%composer%-%track%_%title%`  
_(best working if you have filled content into your tags BPM, COMPOSER, TRACK and TITLE before)._

---

<div class="post-metadata">

### Author: ![modernideas](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@modernideas](https://community.mp3tag.de/u/modernideas)
#### Post date: [August 11, 2024, 12:43am UTC](https://community.mp3tag.de/t/executing-multiple-operations-tag-file-name-after-another/65542/4 "2024-08-11T00:43:25Z")

</div>

Thank you for the advice. I'm rather looking for a way to string all these things into one click. I'm still working on the action groups, trying to wrap my head around this: I can't find a way to simply convert the filename. Re-reading the manual right now.

---

<div class="post-metadata">

### Author: ![modernideas](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@modernideas](https://community.mp3tag.de/u/modernideas)
#### Post date: [August 14, 2024, 1:31pm UTC](https://community.mp3tag.de/t/executing-multiple-operations-tag-file-name-after-another/65542/5 "2024-08-14T13:31:58Z")

</div>

Ok, I'm gonna show myself to be quite stupid here, but I'm stuck again: I looked up the various ways to use format strings. I followed the good advice for "Format value" [my mistake was I tried to directly reproduce the Format Tag - Filename button]

> > So, now my filename is the title.

My next operation was FORMAT VALUE "TRACK" \> %\_filename%, to the sole benefit that I now have two fields with identical content. I tried to amend that with brackets to only select the last four numbers (%dummy (), but I'm stuck. I tried reading up on format strings, regular expressions, but it just does not stick in my head. If anybody has a good idea for a site where I can LEARN this stuff to understand myself and not bother you guys, that would be much appreciated.

---

<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: [August 14, 2024, 1:38pm UTC](https://community.mp3tag.de/t/executing-multiple-operations-tag-file-name-after-another/65542/6 "2024-08-14T13:38:24Z")

</div>

> [@modernideas](#):
>
> If anybody has a good idea for a site where I can LEARN this stuff to understand myself and not bother you guys, that would be much appreciated.

You are already in the right place 😉

To get the best matching suggestions you should provide real existing examples from your collection. Let us see real, complete filenames, even the currently "wrong" ones.  
Let us see [screenshots](https://community.mp3tag.de/t/hints-for-asking-support-requests/56190#use-screenshots-to-exemplify-the-issue-2) from View -\> Extended Tags for real existing files.  
Let us know, what exactly is your desired result. With real examples how they should look after using Actions or Converters.

And BTW:  
Wir können die Fragen [hier](https://community.mp3tag.de/c/de/allgemein/16) auch gerne auf Deutsch beantworten.

---

<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: [August 14, 2024, 4:57pm UTC](https://community.mp3tag.de/t/executing-multiple-operations-tag-file-name-after-another/65542/7 "2024-08-14T16:57:17Z")

</div>

> [@modernideas](#):
>
> I tried reading up on format strings

Please note that there is a difference between matching format strings and generating format strings.  
See the documentation on format strings:

> **[Format Strings and Placeholders – Mp3tag Documentation](https://docs.mp3tag.de/format/)**
>
> Documentation on format strings and placeholders to describe the structure of file names and imported data. Mp3tag is the universal Tag Editor.

---

<div class="post-metadata">

### Author: ![modernideas](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@modernideas](https://community.mp3tag.de/u/modernideas)
#### Post date: [August 14, 2024, 11:22pm UTC](https://community.mp3tag.de/t/executing-multiple-operations-tag-file-name-after-another/65542/8 "2024-08-14T23:22:37Z")

</div>

Ok, so I hope I got it all right:  
current filename: 3156257\_58508180.mp3 [that's the original one I downloaded]  
current title: Tanz in den Wolken: Hochseilakt auf dem World Trade Center | WDR Zeitzeichen (07.08.2024)  
desired filename: wdrzeitzeichen\_2024-08-07 Tanz in den Wolken: Hochseilakt auf dem World Trade Center.mp3  
[i.e. the date in the brackets is supposed to be the leading date after the podcast's title]

 ![Extended Tag](https://community.mp3tag.de/uploads/default/original/3X/9/d/9d26bcb43f281874f98330203b12f42777d1691b.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: [August 15, 2024, 5:03am UTC](https://community.mp3tag.de/t/executing-multiple-operations-tag-file-name-after-another/65542/9 "2024-08-15T05:03:54Z")

</div>

> [@modernideas](#):
>
> ... den Wolken: Hochseilakt ...

will not work as a colon in the middle of a filename is not allowed.

Here is a suggestion for Convert\>Tag-Filename:  
`$validate($regexp(%title%,'(.*) \| (.*) \((\d\d)\.(\d\d)\.(\d+)\)',$2_$5-$4-$3 $1),_)`

---

<div class="post-metadata">

### Author: ![modernideas](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@modernideas](https://community.mp3tag.de/u/modernideas)
#### Post date: [August 15, 2024, 8:25pm UTC](https://community.mp3tag.de/t/executing-multiple-operations-tag-file-name-after-another/65542/10 "2024-08-15T20:25:19Z")

</div>

> will not work as a colon in the middle of a filename is not allowed.

dang, missed that one. You're right of course.

> Here is a suggestion for Convert\>Tag-Filename:

That looks great!!! I'll use this to try to make sense of the regexp business. Thanks!

---

<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: [September 14, 2024, 8:26pm UTC](https://community.mp3tag.de/t/executing-multiple-operations-tag-file-name-after-another/65542/11 "2024-09-14T20:26:11Z")

</div>

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