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.
Your sorting plan
| Now | After sorting | Read from |
|---|
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.
.shscript, for Unix-like terminals:sh waxtax-sort.sh.ps1script, for systems that run .ps1 scripts: open that shell in the parent folder and run.\waxtax-sort.ps1(you may need to allow local scripts first).- CSV plan: open it in any spreadsheet to review, or feed it to a batch-rename tool you already use.
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?
| Format | What is read | Fallback |
|---|---|---|
| MP3 | ID3v2.2, ID3v2.3 and ID3v2.4 tags, plus ID3v1 at the end of the file | File and folder names |
| FLAC | Vorbis comments (FLAC metadata block type 4) | File and folder names |
| WAV, AIFF, M4A, OGG, Opus, AAC | An ID3v2 tag only if it sits at the very start of the file | File and folder names |
| Images, text, PDF | Ignored and left in place | None |
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.