Skip to content

File Organizer

Giwi edited this page Nov 2, 2026 · 1 revision

File Organizer

Move and rename audio files from their tags after the library is indexed.

Open it from the main menu (☰) → Organize files from tags…. The last pattern and music folder are remembered in settings.json.

Pattern

The pattern is relative to the music folder. / separates folders; the last segment becomes the filename. The extension is kept automatically.

Token Value
{artist} track artist
{album} album title
{album_artist} album artist, falling back to the track artist
{title} track title, falling back to the file name
{track} track number, zero-padded to 2 digits
{disc} disc number, zero-padded to 2 digits
{year} year
{genre} genre
{ext} original extension, without the dot

Add a width to any token for more padding, for example {track:03}.

Examples:

{artist}/{album}/{track:02} - {title}
{artist} - {album}/{disc:02}-{track:02} {title}
{genre}/{artist}/{year} - {album}/{title}

Characters that are invalid in a path on any platform (/ \ : " | ? * < >) become _, trailing dots and spaces are removed, and Windows reserved names are prefixed with _. A pattern cannot be absolute or leave the music folder.

Preview

Preview builds a table with the status, current path and target path of every track:

Status Meaning
move the file will be moved
unchanged the target equals the current path
collision the target exists, or another track renders to the same target
missing the indexed file is gone
invalid the pattern has an unknown placeholder or is not usable

Hover a status for the reason. Only move rows are applied; collisions are never overwritten.

By default the whole library is previewed. Select tracks first and keep Selected tracks only checked to limit the batch.

Apply and undo

Move files asks for confirmation, then creates the target folders, moves each file and updates its library row. Ratings, play counts and playlist entries stay with the row.

The batch is recorded in moves-undo.json:

  • Undo last moves (n) in the organizer window, or the main menu entry, moves the files back and restores their library paths
  • undo works after a restart
  • partially failed moves stay in the journal so they can be retried

Undo never overwrites: if the original path is occupied, that file is reported and left in place.

Notes

  • Tags are not rewritten; the organizer only moves files and updates paths.
  • Empty source folders are left behind.
  • A case-only rename (airbag.flac to Airbag.flac) is reported as a collision on case-insensitive filesystems because the target exists.
  • Use Library and Search hygiene first if the library still has stale rows.

Clone this wiki locally