# Request Help with File Renaming

**URL:** <https://community.metabrainz.org/t/request-help-with-file-renaming/470473>\
**Category:** MusicBrainz Picard\
**Tags:** renaming, picard, musicbrainz\
**Created:** [April 4, 2020, 7:54am UTC](https://community.metabrainz.org/t/request-help-with-file-renaming/470473 "2020-04-04T07:54:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![NIS1169](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/n/a9a28c/32.png) [@NIS1169](https://community.metabrainz.org/u/NIS1169)\
**Post date:** [April 4, 2020, 7:54am UTC](https://community.metabrainz.org/t/request-help-with-file-renaming/470473/1 "2020-04-04T07:54:21Z")

</div>

Hi all,

I’ve been looking through the forums and playing with the file naming script for days, but I can’t seem to find what I want to do. I’ll admit, I’m not very good at scripting.

What I’m trying to do, I think is pretty simple, but I just can’t wrap my head around it. I would like the following:

If the album is not a compilation, then:

Album Artist\Album\Album Artist - disk number-track number - Title  
(for instance: The Who\Quadrophenia\The Who - 1-01 - I Am the Sea.mp3)

If the album is a compilation, then:

Album Artist\Album\Album - disk number-track number - Artist - Title

(for instance: Various Artists\Forrest Gump\Forrest Gump - 1-01 - Elvis Presley - Hound Dog.mp3)

If there is only one disk, then I would like the disk number left out, just like the default script.

If anyone could please help, I would really appreciate it.

Please and Thank You!!

Stay healthy and safe! 🙂

---

<div class="post-metadata">

**Author:** ![Scratchmaster](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/s/7ab992/32.png) [@Scratchmaster](https://community.metabrainz.org/u/Scratchmaster)\
**Post date:** [April 4, 2020, 3:06pm UTC](https://community.metabrainz.org/t/request-help-with-file-renaming/470473/2 "2020-04-04T15:06:24Z")

</div>

Can you please help with setting up a tag. I am a newbie with this, and want to learn, but having some difficulties. I would like to sort my music in the following manner:  
Artist/Album/Song Title. I do not want to have the music placed into an various artist folder, or sound track folder. Just would like to look through it in a alphabetical order by artist.

Very much appreciate any assistance.

---

<div class="post-metadata">

**Author:** ![rdswift](https://community.metabrainz.org/user_avatar/community.metabrainz.org/rdswift/32/7032_2.png) [@rdswift](https://community.metabrainz.org/u/rdswift)\
**Post date:** [April 4, 2020, 3:23pm UTC](https://community.metabrainz.org/t/request-help-with-file-renaming/470473/3 "2020-04-04T15:23:03Z")

</div>

You can have a look at my file naming script in my [GitHub repository](https://github.com/rdswift/picard-scripts/blob/master/naming_scripts/Bob_Swift/Bob%20Swift's%20Naming%20Script.pts) for an example of how you can automatically use different naming templates for different types of releases. I have broken it down into steps and have included comments to explain what is being done in each step. Perhaps you can get some ides from there. Once you’ve had a look at it, if you have any questions please ask.

---

<div class="post-metadata">

**Author:** ![rdswift](https://community.metabrainz.org/user_avatar/community.metabrainz.org/rdswift/32/7032_2.png) [@rdswift](https://community.metabrainz.org/u/rdswift)\
**Post date:** [April 4, 2020, 3:26pm UTC](https://community.metabrainz.org/t/request-help-with-file-renaming/470473/4 "2020-04-04T15:26:58Z")

</div>

> [@Scratchmaster](#):
>
> I would like to sort my music in the following manner:  
> Artist/Album/Song Title.

Try something like:

```auto
%artist%/%album%/%title%

```

Also, please don’t hijack another thread with a new question. Best to start a new thread.

---

<div class="post-metadata">

**Author:** ![NIS1169](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/n/a9a28c/32.png) [@NIS1169](https://community.metabrainz.org/u/NIS1169)\
**Post date:** [April 5, 2020, 1:53am UTC](https://community.metabrainz.org/t/request-help-with-file-renaming/470473/5 "2020-04-05T01:53:23Z")

</div>

Thanks @rdswift, I’ll take a look!

---

<div class="post-metadata">

**Author:** ![Scratchmaster](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/s/7ab992/32.png) [@Scratchmaster](https://community.metabrainz.org/u/Scratchmaster)\
**Post date:** [April 5, 2020, 3:11am UTC](https://community.metabrainz.org/t/request-help-with-file-renaming/470473/6 "2020-04-05T03:11:36Z")

</div>

Thanks Rdswift.

My apology for the highjacking. I didn’t mean to cause an issue.

I will try the script. Thanks again.
