The WaxTax

Sort your music downloads

Choose a folder of downloaded music. The sorter reads the tags in your browser, shows where each file would go, and gives you a script that does the moving. Nothing is uploaded.

Last updated:

Choose the folder with your downloads

Or drop audio files here. On a phone, "Choose files" works best.

Use / between folders. Fields: {genre} {genres} {artist} {albumartist} {album} {year} {disc} {track} {title}. The file extension is added for you.

Each line maps a spelling you have to the name you want. Genres without an alias are tidied to Title Case.

Copy is the safe choice for a first run. Neither option overwrites an existing file.

How do I run the script?

Save the script next to the folder you chose, open a terminal in that same place, and run it. The paths in the script start with the name of the folder you selected, so it has to run from the folder that contains it.

Each line of the script prints ok, exists, skipped or missing, so you can see exactly what happened. Read the script before you run it; it is plain text.

What files can the sorter read?

FormatWhat is readFallback
MP3ID3v2.2, ID3v2.3 and ID3v2.4 tags, plus ID3v1 at the end of the fileFile and folder names
FLACVorbis comments (FLAC metadata block type 4)File and folder names
WAV, AIFF, M4A, OGG, Opus, AACAn ID3v2 tag only if it sits at the very start of the fileFile and folder names
Images, text, PDFIgnored and left in placeNone

The file-name fallback understands names like Artist - Album - 01 Title.wav and 01 Title.wav inside a folder named Artist - Album. See the FAQ for more, or the sorting guide for folder layouts.