# Removing text from \_Directory

**URL:** <https://community.mp3tag.de/t/removing-text-from-directory/49000>\
**Category:** Support\
**Created:** [May 19, 2020, 12:24am UTC](https://community.mp3tag.de/t/removing-text-from-directory/49000 "2020-05-19T00:24:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SpirosG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/spirosg/32/8589_2.png) [@SpirosG](https://community.mp3tag.de/u/SpirosG)\
**Post date:** [May 19, 2020, 12:24am UTC](https://community.mp3tag.de/t/removing-text-from-directory/49000/1 "2020-05-19T00:24:15Z")

</div>

Hi i tried to create a `guess value` action to remove a part from directory but it doesn't work.

the action i used was:  
_Action type:_ **Guess values**  
_Source format:_ **\_DIRECTORY**  
_Guessing pattern:_ **%\_DIRECTORY% ( %dummy%**

what i'm trying to remove is the bold part:  
Booka Shade Kaktus Einarsson - Perfect in a Way BFMB065CLUB _**(Melodic House & Techno)**_

---

<div class="post-metadata">

**Author:** ![Crissov](https://community.mp3tag.de/user_avatar/community.mp3tag.de/crissov/32/6619_2.png) [@Crissov](https://community.mp3tag.de/u/Crissov)\
**Post date:** [May 19, 2020, 3:06am UTC](https://community.mp3tag.de/t/removing-text-from-directory/49000/2 "2020-05-19T03:06:21Z")

</div>

There appears to be a space between `(` and `%dummy%` which should not be there.

---

<div class="post-metadata">

**Author:** ![SpirosG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/spirosg/32/8589_2.png) [@SpirosG](https://community.mp3tag.de/u/SpirosG)\
**Post date:** [May 19, 2020, 10:10am UTC](https://community.mp3tag.de/t/removing-text-from-directory/49000/3 "2020-05-19T10:10:54Z")

</div>

> [@Crissov](#):
>
> There appears to be a space between `(` and `%dummy%` which should not be there

My bad, i forgot to mention that i tried to move things around (bracket or %dummy) to see if the action would work but it didn't. I'll try it again to see if it will work.

---

<div class="post-metadata">

**Author:** ![SpirosG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/spirosg/32/8589_2.png) [@SpirosG](https://community.mp3tag.de/u/SpirosG)\
**Post date:** [May 19, 2020, 11:50am UTC](https://community.mp3tag.de/t/removing-text-from-directory/49000/4 "2020-05-19T11:50:13Z")

</div>

NO, it's not working. 🤔

---

<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:** [May 19, 2020, 3:49pm UTC](https://community.mp3tag.de/t/removing-text-from-directory/49000/5 "2020-05-19T15:49:24Z")

</div>

> [@SpirosG](#):
>
> _Source format:_ **\_DIRECTORY**

It has to be %\_directory%

---

<div class="post-metadata">

**Author:** ![SpirosG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/spirosg/32/8589_2.png) [@SpirosG](https://community.mp3tag.de/u/SpirosG)\
**Post date:** [May 19, 2020, 3:57pm UTC](https://community.mp3tag.de/t/removing-text-from-directory/49000/6 "2020-05-19T15:57:53Z")

</div>

> [@poster](#):
>
> It has to be %\_directory%

I was sure i tried that also...  
BUT there is a big BUT it's actually working, now that i actually tried that also... 😮 😲  
It seems that my mind is not inside my head lately... 🤣  
Thanks @poster

UPDATE  
**Too fast...**

![Annotation 2020-05-19 190258](https://community.mp3tag.de/uploads/default/original/2X/4/4c60a70693d4892a1906fc612e8298f18a8ea8df.jpeg)

**So it is changing in Mp3tag but not in the actual folder**

Same behaviour even if i try to do that on `%_folderpath%`

---

<div class="post-metadata">

**Author:** ![SpirosG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/spirosg/32/8589_2.png) [@SpirosG](https://community.mp3tag.de/u/SpirosG)\
**Post date:** [May 19, 2020, 4:29pm UTC](https://community.mp3tag.de/t/removing-text-from-directory/49000/7 "2020-05-19T16:29:23Z")

</div>

I found a way to succeed it.

**Step 1**  
_Action type:_ **Guess values**  
_Source format:_ **%\_directory%**  
_Guessing pattern:_ **%\_directory% (%dummy%**

**Step 2**  
_Action type:_ **Format values**  
_Source format:_ **\_DIRECTORY**  
_Guessing pattern:_ **%\_DIRECTORY%**

In format value action it seems that it needs to be _Source format:_ **\_DIRECTORY**

---

<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:** [June 18, 2020, 4:29pm UTC](https://community.mp3tag.de/t/removing-text-from-directory/49000/8 "2020-06-18T16:29:24Z")

</div>

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