# Shorten Filename

**URL:** https://community.mp3tag.de/t/shorten-filename/6533
**Category:** General Discussion
**Created:** [March 28, 2008, 10:00am UTC](https://community.mp3tag.de/t/shorten-filename/6533 "2008-03-28T10:00:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![CiXel](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/e9c0ed/32.png) [@CiXel](https://community.mp3tag.de/u/CiXel)
#### Post date: [March 28, 2008, 10:00am UTC](https://community.mp3tag.de/t/shorten-filename/6533/1 "2008-03-28T10:00:31Z")

</div>

I know there is an action to 'Shorten filenames to 64 character', and I understand the reason.

It would be very helpful to also be able to choose how many characters to shorten to (128, 200, etc)  
Also, if possible it world be nice to have the option to shorten the \_Directory name.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [March 28, 2008, 9:07pm UTC](https://community.mp3tag.de/t/shorten-filename/6533/2 "2008-03-28T21:07:49Z")

</div>

You can use a Format value action in combination with the $left scripting function for shortening certain fields to a specific length (including the directory name).

---

<div class="post-metadata">

### Author: ![CiXel](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/e9c0ed/32.png) [@CiXel](https://community.mp3tag.de/u/CiXel)
#### Post date: [March 29, 2008, 4:30pm UTC](https://community.mp3tag.de/t/shorten-filename/6533/3 "2008-03-29T16:30:28Z")

</div>

Thanks for the info. I will try it out.
