# Please! Convert Path to Tag

**URL:** https://community.mp3tag.de/t/please-convert-path-to-tag/59038
**Category:** Support
**Created:** [November 12, 2022, 12:38am UTC](https://community.mp3tag.de/t/please-convert-path-to-tag/59038 "2022-11-12T00:38:53Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![BobbyBadBoy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/90ced4/32.png) [@BobbyBadBoy](https://community.mp3tag.de/u/BobbyBadBoy)
#### Post date: [November 12, 2022, 12:38am UTC](https://community.mp3tag.de/t/please-convert-path-to-tag/59038/1 "2022-11-12T00:38:53Z")

</div>

I really need this feature,  
Like "convert filename to tag" but instead Convert path to tag. Because the folder structure sometimes contains the album year or the album name and nothing else does.

Please! very important feature thanks!

---

<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: [November 12, 2022, 6:33am UTC](https://community.mp3tag.de/t/please-convert-path-to-tag/59038/2 "2022-11-12T06:33:18Z")

</div>

> [@BobbyBadBoy](#):
>
> Please! very important feature thanks!

Indeed.  
And that is why it has been described for ages in the FAQs:

> [@Converters to rename files or to import tags](https://community.mp3tag.de/t/converters-to-rename-files-or-to-import-tags/8016/3):
>
> How to import parts of the filename into the tag? Importing tags from filenames and directory names can be done by using the [Converter \> Filename - Tag] Converter \> Filename - Tag. The basic concept is the notion of a format string which describes the structure of the name to import from. The format string is built of either standard text (e.g., Music), placeholders (such as %artist%, %title%, ...), or backslash characters \ that denote directory structures. Here is an example that imports t…

and also in the documentation:

> **[Import Tags from File and Folder Names – Mp3tag Documentation](https://docs.mp3tag.de/converters/import-tags-from-filenames/)**
>
> Documentation on Filename to Tag, a converter to import tags from file and folder names. Mp3tag is the universal Tag Editor.

---

<div class="post-metadata">

### Author: ![BobbyBadBoy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/90ced4/32.png) [@BobbyBadBoy](https://community.mp3tag.de/u/BobbyBadBoy)
#### Post date: [November 12, 2022, 9:39am UTC](https://community.mp3tag.de/t/please-convert-path-to-tag/59038/3 "2022-11-12T09:39:53Z")

</div>

ok I will try this backslash method (for folders) within the "convert filename to tag" menu.

Thanks!

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 12, 2022, 10:01am UTC](https://community.mp3tag.de/t/please-convert-path-to-tag/59038/4 "2022-11-12T10:01:30Z")

</div>

It is also possible to grab parts of the path with the converter Tag-\>Tag and actions of the type "Format Value", because there are information tags like `_DIRECTORY` , `_PARENT_DIRECTORY` and `_PATH`.  
Actions of the type "Guess Values" work too.

---

<div class="post-metadata">

### Author: ![BobbyBadBoy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/90ced4/32.png) [@BobbyBadBoy](https://community.mp3tag.de/u/BobbyBadBoy)
#### Post date: [November 12, 2022, 10:06am UTC](https://community.mp3tag.de/t/please-convert-path-to-tag/59038/5 "2022-11-12T10:06:53Z")

</div>

The backslash method did not work for me at all under the "filename - Tag" converter.

I will try the tag-tag method if I can figure it out

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 12, 2022, 10:28am UTC](https://community.mp3tag.de/t/please-convert-path-to-tag/59038/6 "2022-11-12T10:28:38Z")

</div>

> [@BobbyBadBoy](#):
>
> The backslash method did not work for me at all under the "filename - Tag" converter.

It is the best that you give a concrete example what your path looks like and which tags you want fo fill.

---

<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: [November 12, 2022, 10:37am UTC](https://community.mp3tag.de/t/please-convert-path-to-tag/59038/7 "2022-11-12T10:37:29Z")

</div>

> [@BobbyBadBoy](#):
>
> The backslash method did not work for me at all under the "filename - Tag" converter.

That is fairly amazing.  
But as you do not supply any information what you tried, what you expected and what you got as a result, it is not possible to give you any more help than what can be found in the already linked FAQs and documentation.

---

<div class="post-metadata">

### Author: ![BobbyBadBoy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/90ced4/32.png) [@BobbyBadBoy](https://community.mp3tag.de/u/BobbyBadBoy)
#### Post date: [November 14, 2022, 7:32am UTC](https://community.mp3tag.de/t/please-convert-path-to-tag/59038/8 "2022-11-14T07:32:25Z")

</div>

I ended up using "Actions --\> Quick Actions --\> Guess Values --\> "\_directory", `%dummy%\%dummy%\%artist% %year%\%album%`

The point is that, the "Quick Actions" "Guess Values" worked for me thanks!  
The Filename-Tag converter I was unable to figure out how to make it output the path info, the guide's instructions on how to do that are literally just one sentence.  
I dont have an example at the moment because I already fixed it with the other method. The other method seems a lot more capable anyway thanks

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 14, 2022, 7:39am UTC](https://community.mp3tag.de/t/please-convert-path-to-tag/59038/9 "2022-11-14T07:39:44Z")

</div>

In contrast to the use of actions, the converter offers the possibility of a direct preview of the result of a format string and is therefore also suitable for testing a format string, which can then be saved as an action for future use if it is planned to be used again.

---

<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: [November 14, 2022, 7:52am UTC](https://community.mp3tag.de/t/please-convert-path-to-tag/59038/10 "2022-11-14T07:52:55Z")

</div>

> [@BobbyBadBoy](#):
>
> "\_directory", `%dummy%\%dummy%\%artist% %year%\%album%`

With Convert\>Filename-Tag it would have been:  
`%artist% %year%\%album%\%dummy%`  
or perhaps  
`%artist% %year%\%album%\%track% - %title%`

---

<div class="post-metadata">

### Author: ![BobbyBadBoy](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/90ced4/32.png) [@BobbyBadBoy](https://community.mp3tag.de/u/BobbyBadBoy)
#### Post date: [November 14, 2022, 9:10am UTC](https://community.mp3tag.de/t/please-convert-path-to-tag/59038/11 "2022-11-14T09:10:52Z")

</div>

But with the method Convert Filename-Tag, it can only operate at the "\_directory" level right?

I think my problem was that I was trying to do a "\_ParentDirectory" and some "\_Path" stuff, which Quick Actions --\> "Guess Values" allowed me to do.

@poster, I see that Filename-Tag will be better for taking info off the directory, but only if it does not go farther back than the very last folder in the path.

I am not sure what was happening or why I couldnt make it work. How does it know how far back I want it to go in the path? does it do it automatically? I will try again once I start working on that stuff again tomorrow, but as of now I am no longer working on it.

Once I have a good example I will post it.

---

<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: [November 14, 2022, 9:14am UTC](https://community.mp3tag.de/t/please-convert-path-to-tag/59038/12 "2022-11-14T09:14:53Z")

</div>

> [@BobbyBadBoy](#):
>
> I see that Filename-Tag will be better for taking info off the directory

It goes right up to the drive letter or the network address, if you specify the filename as fully qualified filename.

---

<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: [December 14, 2022, 9:15am UTC](https://community.mp3tag.de/t/please-convert-path-to-tag/59038/13 "2022-12-14T09:15:12Z")

</div>

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