# \[F\] Shorten filenames to 64 characters

**URL:** https://community.mp3tag.de/t/f-shorten-filenames-to-64-characters/11716
**Category:** Fixed Bugs
**Tags:** bug-fixed
**Created:** [March 14, 2011, 7:05pm UTC](https://community.mp3tag.de/t/f-shorten-filenames-to-64-characters/11716 "2011-03-14T19:05:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Tagling](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/50afbb/32.png) [@Tagling](https://community.mp3tag.de/u/Tagling)
#### Post date: [March 14, 2011, 7:05pm UTC](https://community.mp3tag.de/t/f-shorten-filenames-to-64-characters/11716/1 "2011-03-14T19:05:36Z")

</div>

If long .flac file has dots (.) in filename, 'cut' gives weird result.

eg.:

100% feat. Jennifer John - Just Can't Wait (Saturday) (Stonebridge Club Mix).flac -\>  
. jennifer john - just can't wait (saturday) (stonebridge club mix).flac

Thanks for fixing it 🙂

P.S. please add feature to add (1), (2), (3) etc. to filenames if the artist and title are the same to avoid errors while renaming by pattern %artist% - %title%. I use other tagging program for this only feature!

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [March 14, 2011, 8:17pm UTC](https://community.mp3tag.de/t/f-shorten-filenames-to-64-characters/11716/2 "2011-03-14T20:17:34Z")

</div>

> [@Tagling](#):
>
> If long .flac file has dots (.) in filename, 'cut' gives weird result. ...

Yes, and also the file extension is not taken into account.

The action "Shorten filenames to 64 characters" should be removed completety from the action set.  
I've checked it years ago, saw no intelligence, although promised, and did never touch it again.  
I've built my own intelligent routine to keep the entire filename+ext less than 65 characters.

> [@Tagling](#):
>
> ... P.S. please add feature to add (1), (2), (3) etc. to filenames if the artist and title are the same to avoid errors while renaming by pattern %artist% - %title%. I use other tagging program for this only feature!

This fussiness(1), fussiness(2), fussiness(3) ... fussiness(9999) is not needed!

You can prepare the output filename in a temporary tag-field to view it, to check it, to change it, to detect and avoid duplicates ... and then after all ... the filename is perfect and the file can be renamed without causing any error in the filesystem.  
Overall this way is the most efficient way to prepare correct filenames at minimal time.  
First create the filename virtual, then real.

DD.20110314.2217.CET

---

<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 26, 2011, 9:07am UTC](https://community.mp3tag.de/t/f-shorten-filenames-to-64-characters/11716/3 "2011-03-26T09:07:36Z")

</div>

The action has been removed with Mp3tag v2.48a.

---

<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: [December 28, 2018, 2:05pm UTC](https://community.mp3tag.de/t/f-shorten-filenames-to-64-characters/11716/4 "2018-12-28T14:05:12Z")

</div>

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