# Year from folder

**URL:** https://community.mp3tag.de/t/year-from-folder/12022
**Category:** Support
**Created:** [May 17, 2011, 6:17pm UTC](https://community.mp3tag.de/t/year-from-folder/12022 "2011-05-17T18:17:45Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![dame50](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/b9bd4f/32.png) [@dame50](https://community.mp3tag.de/u/dame50)
#### Post date: [May 17, 2011, 6:17pm UTC](https://community.mp3tag.de/t/year-from-folder/12022/1 "2011-05-17T18:17:45Z")

</div>

Hi there, first thanks for Mp3taf, it's friking awesome.

My problem is the following, I've need to extract the year information from the conteing folder.  
The folder is like this: "artist - (year) - album"

I tried with the following action.  
Action type: Guess values  
Source format: %\_directory%  
Guessing pattern: %dummy% - (%year%) - %dummy%

I'm guessing it has something to do with the ( ) , because I tried with artist and album info, and it worked fine.  
well,  
Thanks!  
jose

---

<div class="post-metadata">

### Author: ![JJ\_Johnson](https://community.mp3tag.de/user_avatar/community.mp3tag.de/jj_johnson/32/67_2.png) [@JJ\_Johnson](https://community.mp3tag.de/u/JJ_Johnson)
#### Post date: [May 17, 2011, 7:46pm UTC](https://community.mp3tag.de/t/year-from-folder/12022/2 "2011-05-17T19:46:37Z")

</div>

That should work. Are there parentheses ( ) in either the artist or album part of the folder name? If so, it would disrupt a pattern like that.

---

<div class="post-metadata">

### Author: ![dame50](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/b9bd4f/32.png) [@dame50](https://community.mp3tag.de/u/dame50)
#### Post date: [May 18, 2011, 12:33am UTC](https://community.mp3tag.de/t/year-from-folder/12022/3 "2011-05-18T00:33:13Z")

</div>

yeah, the ( ) is in the folder name, for example this would be a folder "Daft Punk - (2005) - Human After All" the quotations are not in the folder name of course.

---

<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: [May 18, 2011, 3:25am UTC](https://community.mp3tag.de/t/year-from-folder/12022/4 "2011-05-18T03:25:11Z")

</div>

> [@dame50](#):
>
> yeah, the ( ) is in the folder name,

If you do not insist on an action, you could try the converter filename - tag first.  
It has a preview function that may help you to adjust the mask.  
After you have found the right pattern, you could recycle it in an action.

---

<div class="post-metadata">

### Author: ![dame50](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/b9bd4f/32.png) [@dame50](https://community.mp3tag.de/u/dame50)
#### Post date: [May 18, 2011, 10:29am UTC](https://community.mp3tag.de/t/year-from-folder/12022/5 "2011-05-18T10:29:06Z")

</div>

finally I did it like this:

Action type: Guess values  
Source format: %\_directory%  
Guessing pattern: %artist% - (%year%) - %album%

and for some reason worked, luckily the other info in the folder is accurate. I sure hope thel be some way to do just the year, oh well...  
thanks man, really appreciate  
jose

---

<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: [February 9, 2026, 12:23pm UTC](https://community.mp3tag.de/t/year-from-folder/12022/6 "2026-02-09T12:23:06Z")

</div>


