# Problem with the directory and moving the tracks to the album folder

**URL:** https://community.mp3tag.de/t/problem-with-the-directory-and-moving-the-tracks-to-the-album-folder/67932
**Category:** Support
**Created:** [March 22, 2025, 6:17pm UTC](https://community.mp3tag.de/t/problem-with-the-directory-and-moving-the-tracks-to-the-album-folder/67932 "2025-03-22T18:17:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Palladio](https://community.mp3tag.de/user_avatar/community.mp3tag.de/palladio/32/10154_2.png) [@Palladio](https://community.mp3tag.de/u/Palladio)
#### Post date: [March 22, 2025, 6:17pm UTC](https://community.mp3tag.de/t/problem-with-the-directory-and-moving-the-tracks-to-the-album-folder/67932/1 "2025-03-22T18:17:57Z")

</div>

I wanted to organize a number of songs from several different artists that are all in the same folder. And each folder should be created based on the album name and the tracks from each album should be moved to the folder corresponding to each album.

\ALBUMARTIST - ALBUM (YEAR, extension)

To do this, from the **tag - tag** section, and with the following command:

\_DIRECTORY

%ALBUMARTIST% - %ALBUM% ($left(%YEAR%,4), $upper(%\_extension%))

when I try to do this, this does not happen and everything remains in the same folder and only the name of the main folder is changed to the name of the first album.

I wanted to know if there is a better and more accurate way to organize and categorize based on the album name and album artist.  
Or where is the problem with the command I am using?

 ![image](https://community.mp3tag.de/uploads/default/original/3X/1/1/1112ac2a0f291343c236b98ab286b2265ad0bdc5.png)

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [March 22, 2025, 6:21pm UTC](https://community.mp3tag.de/t/problem-with-the-directory-and-moving-the-tracks-to-the-album-folder/67932/2 "2025-03-22T18:21:11Z")

</div>

If you want to treat individual files and move them to a new folder, you have to use \_FILENAME (and more easily Convert\>Tag-Filename  
Format string: `%ALBUMARTIST% - %ALBUM% ($left(%YEAR%,4), $upper(%_extension%))\%_filename%`

if you want to move all files in a folder then use Convert\>Tag-Tag for \_DIRECTORY

---

<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: [April 21, 2025, 6:21pm UTC](https://community.mp3tag.de/t/problem-with-the-directory-and-moving-the-tracks-to-the-album-folder/67932/3 "2025-04-21T18:21:34Z")

</div>

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