# Automate Filename-Tag using Actions

**URL:** https://community.mp3tag.de/t/automate-filename-tag-using-actions/53906
**Category:** Support
**Created:** [July 30, 2021, 12:18pm UTC](https://community.mp3tag.de/t/automate-filename-tag-using-actions/53906 "2021-07-30T12:18:28Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![HellPhantom](https://community.mp3tag.de/user_avatar/community.mp3tag.de/hellphantom/32/9565_2.png) [@HellPhantom](https://community.mp3tag.de/u/HellPhantom)
#### Post date: [July 30, 2021, 1:55pm UTC](https://community.mp3tag.de/t/automate-filename-tag-using-actions/53906/4 "2021-07-30T13:55:25Z")

</div>

> [@Easy way to get directory names above Parent?](https://community.mp3tag.de/t/easy-way-to-get-directory-names-above-parent/9324/6):
>
> MY\_FOLDER\_0 i

This example sounds promising and more what I would like. I will have to see if i can get it to work.

I also have this one now which at least does not hardcode the Drive.

$replace(%\_folderpath%,$left(%\_folderpath%,3),,%\_directory%,,'Multimedia\Movies',,'',' /')

---

_[View the full topic](https://community.mp3tag.de/t/automate-filename-tag-using-actions/53906)._
