# Copy info out of angled brackets in a filename to a tag \[ \]

**URL:** https://community.mp3tag.de/t/copy-info-out-of-angled-brackets-in-a-filename-to-a-tag/49085
**Category:** General Discussion
**Created:** [May 25, 2020, 5:53pm UTC](https://community.mp3tag.de/t/copy-info-out-of-angled-brackets-in-a-filename-to-a-tag/49085 "2020-05-25T17:53:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![brains](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ec9cab/32.png) [@brains](https://community.mp3tag.de/u/brains)
#### Post date: [May 25, 2020, 5:53pm UTC](https://community.mp3tag.de/t/copy-info-out-of-angled-brackets-in-a-filename-to-a-tag/49085/1 "2020-05-25T17:53:26Z")

</div>

Hi i have files named in the following format  
[catalog #] artist - album  
i tried doing guess values  
"[%catalog #%] %artist% - %album%"  
unfortuately it doesn't work i think because it thinks to brackets are programing characters?  
I am trying to get Catalog # into the catalog # field please help.

---

<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 25, 2020, 5:56pm UTC](https://community.mp3tag.de/t/copy-info-out-of-angled-brackets-in-a-filename-to-a-tag/49085/2 "2020-05-25T17:56:39Z")

</div>

Try  
`'['%catalog #%']' %artist% - %album%`  
(Test it with Convert\>Filename-Tag)

---

<div class="post-metadata">

### Author: ![brains](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ec9cab/32.png) [@brains](https://community.mp3tag.de/u/brains)
#### Post date: [May 25, 2020, 6:15pm UTC](https://community.mp3tag.de/t/copy-info-out-of-angled-brackets-in-a-filename-to-a-tag/49085/3 "2020-05-25T18:15:14Z")

</div>

> [@ohrenkino](#):
>
> '['%catalog #%']' %artist% - %album%

Doh my bad the data i wanted was actually in a folder name which is why it wasn't working. I didn't actually need the quotes in the end, i copied tag to tag, replaced the bits of path i didn;t need with blank then could do guess values with [%catalog #%]

---

<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 25, 2020, 6:16pm UTC](https://community.mp3tag.de/t/copy-info-out-of-angled-brackets-in-a-filename-to-a-tag/49085/4 "2020-05-25T18:16:28Z")

</div>

you can get data from the folder with e.g.  
`[catalog#]%dummy%\%dummy%`

---

<div class="post-metadata">

### Author: ![brains](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ec9cab/32.png) [@brains](https://community.mp3tag.de/u/brains)
#### Post date: [May 25, 2020, 6:59pm UTC](https://community.mp3tag.de/t/copy-info-out-of-angled-brackets-in-a-filename-to-a-tag/49085/5 "2020-05-25T18:59:25Z")

</div>

ah you are a life saver. that works beautifully. didn't know you could do %dummy% in the bits where there is some text you don't need there
