My Tunes#
A small command-line tool to organize a music directory using metadata as the source of truth, in a way 100% inspired by Apple's iTunes:
root/
โโโ Artist/
โ โโโ Album/
โ โโโ 01 Track Title.mp3
โโโ Compilations/
โโโ Album/
โโโ 01 Track Title.mp3
It prompts you to clean non-music files and empty directories.
Install#
go install https://tangled.org/cuducos.me/my-tunes
Usage#
my-tunes [flags] <directory>
Check --help for more details on the flags.
Examples#
Preview changes without touching files:
my-tunes --dry-run ~/Music
Apply everything without prompts:
my-tunes --yes ~/Music
Show only files that would be renamed:
my-tunes --dry-run --renames-only ~/Music
Process only a specific artist:
my-tunes --match "Taylor Swift" ~/Music