# Problem with actions to move everything from ft. to end of filename

**URL:** https://community.mp3tag.de/t/problem-with-actions-to-move-everything-from-ft-to-end-of-filename/53174
**Category:** Mac
**Created:** [May 11, 2021, 12:22am UTC](https://community.mp3tag.de/t/problem-with-actions-to-move-everything-from-ft-to-end-of-filename/53174 "2021-05-11T00:22:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ReyRaym](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/73ab20/32.png) [@ReyRaym](https://community.mp3tag.de/u/ReyRaym)
#### Post date: [May 11, 2021, 12:22am UTC](https://community.mp3tag.de/t/problem-with-actions-to-move-everything-from-ft-to-end-of-filename/53174/1 "2021-05-11T00:22:45Z")

</div>

Trying to move ft. and everything to the right of it from filename to artist.

So this only works correctly if I filter just ft.  
Gives me name already exist error if I don't filter.  
Feel like this could be another "DUMMY" issue, changed action types, tried a few other things, but can't get it to work without filtering.

Format tag field “ARTIST”:%artist% $mid(%\_filename%,$strstr(%\_filename%,'ft.'),$len(%\_filename%))

Format tag field “\_FILENAME”:$if($strstr(%\_filename%,'ft.'),$left(%\_filename%,$strstr(%\_filename%,' ft.')), $ignore\_error)

Format tag filed “\_FILENAME”:$trim(%\_filename%)

---

<div class="post-metadata">

### Author: ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)
#### Post date: [May 11, 2021, 1:03am UTC](https://community.mp3tag.de/t/problem-with-actions-to-move-everything-from-ft-to-end-of-filename/53174/2 "2021-05-11T01:03:08Z")

</div>

Looks pretty darn similar to your other topic.

> [@Artist to Albumartist action](https://community.mp3tag.de/t/artist-to-albumartist-action/53126):
>
> I have this action group, with 3 actions. It basically copy's artist to albumartist, then trims off anything from "ft." to the end of the field. The good is that it works perfectly if the artist has a featured artist in the field. The bad is that if the artist doesn't have "ft." in the field, it removes the tagging from the albumartist field, leaving it blank. I have tried tweaking it, but keep getting the same outcome. Anyone have a solution for this? Import tag fields “%ARTIST%”:%ALBUMAR…

Change %Albumartist% to %\_filename% is about the only difference?

---

<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 15, 2021, 5:02pm UTC](https://community.mp3tag.de/t/problem-with-actions-to-move-everything-from-ft-to-end-of-filename/53174/3 "2021-06-15T17:02:53Z")

</div>

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