TRACKRENAME(1)

πŸ“¦
version 3.1.1 Β· 4 versions
, in ubuntu questing

πŸ’– TRACKRENAME(1) πŸ’–

okay bestie, listen up β€” this is trackrename, the Audio File Renamer, and it's literally the glow-up your music folder has been begging for. it takes your audio files and renames them based on metadata (either external or internal, she's flexible like that ✨). no more track_04_final_FINAL.flac energy. we're doing this properly. periodt.


🌸 NAME 🌸

trackrename β€” renames files based on metadata πŸŽ€


✨ SYNOPSIS ✨

trackrename [OPTIONS] <track 1> [track 2] ...

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: trackrename takes a whole list of audio files and renames them based on external or internal metadata. you feed her tracks, she gives you back tracks with names that actually make sense. it's giving main character energy for your music library, fr fr. πŸ’…


πŸ’œ OPTIONS πŸ’œ

  • -h, --help β€” shows you a list of options and then dips. that's it, that's the whole job. πŸ‘‘
  • -I, --interactive β€” lets you edit the format string in interactive mode before the renaming happens. lowkey essential if you like to double-check your work before committing, iykyk.
  • --format=STRING β€” the format string used to build your new filenames. template fields get swapped out for their metadata values when the new tracks are created, and literally everything else is left exactly as-is. if you skip this option, a default format string gets used instead. πŸŽ€
  • -V, --verbose=VERBOSITY β€” how much output you want to see. pick between 'normal', 'quiet' and 'debug'. choose your own adventure, bestie. πŸ”₯

🌈 EXAMPLES 🌈

okay so, renaming all of the FLAC files in the current directory based on their FLAC tag metadata? iconic. just do:

track2rename *.flac

and if you wanna rename file.flac with a custom template, she eats that too:

trackrename "--format=%(track_number)2.2d - %(album_name)s - %(track_name)s.%(suffix)s" file.flac

πŸŽ€ FORMAT STRING FIELDS πŸŽ€

here's the full menu of template fields β€” every single one, no gatekeeping:

  • %(track_number)2.2d β€” the track's number on the CD
  • %(track_total)d β€” the total number of tracks on the CD
  • %(album_number)d β€” the CD's album number
  • %(album_total)d β€” the total number of CDs in the set
  • %(album_track_number)s β€” combination of album and track number
  • %(track_name)s β€” the track's name
  • %(album_name)s β€” the album's name
  • %(artist_name)s β€” the track's artist name
  • %(performer_name)s β€” the track's performer name
  • %(composer_name)s β€” the track's composer name
  • %(conductor_name)s β€” the track's conductor name
  • %(media)s β€” the track's source media
  • %(ISRC)s β€” the track's ISRC
  • %(catalog)s β€” the track's catalog number
  • %(copyright)s β€” the track's copyright information
  • %(publisher)s β€” the track's publisher
  • %(year)s β€” the track's publication year
  • %(date)s β€” the track's original recording date
  • %(suffix)s β€” the track's suffix
  • %(basename)s β€” the track's original name, without suffix

🫢 SEE ALSO 🫢

the whole friend group showed up, and we love that for them:

audiotools-config(1), audiotools.cfg(5), cdda2track(1), cddainfo(1), cddaplay(1), coverdump(1), covertag(1), coverview(1), dvda2track(1), dvdainfo(1), track2cdda(1), track2track(1), trackcat(1), trackcmp(1), trackinfo(1), tracklength(1), tracklint(1), trackplay(1), tracksplit(1), tracktag(1), trackverify(1)


πŸ‘‘ AUTHOR πŸ‘‘

Brian Langenberger wrote this. king behaviour, honestly. 🫑


and that's the whole page, bestie!! πŸ’– this lil' manual was last touched on 2025-03-10 and it's still shipping as TRACKRENAME(1) β€” go forth and rename your tracks, you absolute icon. πŸŒΈβœ¨πŸ¦‹πŸ’…

πŸ“¦ where this page comes from