# Need a script to rename LOG/CUE files?

**URL:** <https://community.mp3tag.de/t/need-a-script-to-rename-log-cue-files/16206>\
**Category:** Support\
**Created:** [October 2, 2014, 5:18pm UTC](https://community.mp3tag.de/t/need-a-script-to-rename-log-cue-files/16206 "2014-10-02T17:18:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phixion](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/dc4da7/32.png) [@Phixion](https://community.mp3tag.de/u/Phixion)\
**Post date:** [October 2, 2014, 5:18pm UTC](https://community.mp3tag.de/t/need-a-script-to-rename-log-cue-files/16206/1 "2014-10-02T17:18:10Z")

</div>

As per topic, I'm looking for a script that renames .CUE and .LOG files using the tags from an album.

My music collection is so big it would take forever to manually rename these files.

I want to use the naming scheme: "00 - %album%.CUE" & "00 - %album%.LOG".

Does anyone have something that can do this?

Regards,

Phixion

---

<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:** [October 3, 2014, 4:17am UTC](https://community.mp3tag.de/t/need-a-script-to-rename-log-cue-files/16206/2 "2014-10-03T04:17:45Z")

</div>

If your cue and log-files are situated in separate album-folders that have the name of the album-tag you can

1. Add \*.cue and \*.log to the list of restricted files in tools\options\tags

2. Filter the listed files by enterng "%\_extension% IS log OR %\_extension% IS cue".

3. Mark the now shown log and cue-files in the list-view.

4. Use the converter "Tag-Filename" and as a format string enter %\_directory%

---

<div class="post-metadata">

**Author:** ![Phixion](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/dc4da7/32.png) [@Phixion](https://community.mp3tag.de/u/Phixion)\
**Post date:** [October 5, 2014, 3:21pm UTC](https://community.mp3tag.de/t/need-a-script-to-rename-log-cue-files/16206/3 "2014-10-05T15:21:41Z")

</div>

Many thanks for this, great idea.

I guess there is a way of getting just the album info out of the directory, as I originally wanted to name them like so:

00 - %album%

But this method at least gives me something to work with, thanks again.

---

<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:** [October 5, 2014, 4:09pm UTC](https://community.mp3tag.de/t/need-a-script-to-rename-log-cue-files/16206/4 "2014-10-05T16:09:29Z")

</div>

> [@Phixion](#):
>
> I guess there is a way of getting just the album info out of the directory, as I originally wanted to name them like so:
> 
> 00 - %album%

If the directoty is always named like this (5 characters before the album-name) you can take  
$cutleft(%\_directory,5)  
as format string.

---

<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:** [February 9, 2026, 12:25pm UTC](https://community.mp3tag.de/t/need-a-script-to-rename-log-cue-files/16206/5 "2026-02-09T12:25:18Z")

</div>

Closed on February 9, 2026, 12:25pm UTC


