Avatar Ilya Mateyko

go.astrophena.name/tools Module

GitHub repository | Commit (09f7af0)

Personal tools.

audiorenamer

Audiorenamer traverses a directory and renames music tracks based on their metadata. It extracts the track number and title from the files' metadata. If the title contains slashes, it strips them out to create a valid filename. The new filename format is "<track number>. <title>.<extension>".

The program takes a directory path as an required argument.

Running it on my music collection:

$ audiorenamer ~/media/music