Topic: Newbie - How to write directories as artistname when moving files?

The moving files function works great but I need to add the artistname as a variable so on move, Picard will automatically create the directory and move the files into that directory.

Under options-options-movingfiles,

I tried c:\music\fixed\%Artist% which of course created a directory %artist%...

What is the correct code for this so the system picks up the artist name and creates the correct directory?

Thanks!

Andy

Re: Newbie - How to write directories as artistname when moving files?

The option on "Moving files" is just the "base" folder so should just be c:\music\fixed in your case. Make sure you've enabled file moving.

To get per-artist folders, you need to change the formatting string in "file naming" - the parts of the pattern before the final '/' are the directory structure. The default string will probably give you something like what you want:

$if2(%albumartist%,%artist%)/%album%/$if($gt(%totaldiscs%,1),%discnumber%-,)$num(%tracknumber%,2) %title%

This will make folders like "albumartist/album". If you enable "rename files while saving", the file names will also be renamed like

Single disc: 01 trackname.mp3
Multidisc: 2-01 trackname.mp3

There are many other interesting (and some complicated) file naming strings here.