lltag_formats(5)
π lltag_formats(5) β the formats tea π
okay bestie, so this is the manual for lltag_formats β the File Formats Manual page, and it's literally all about the internal formats database file for lltag. it's giving "config file lore" and honestly? we're obsessed. π
β¨ NAME β¨
formats β the internal formats database file for lltag, no cap π
πΈ DESCRIPTION πΈ
so the internal format database is usually chilling at /etc/lltag/formats, right? that's its home base. but β and this is the fun part β you can override that whole thing by defining a $HOME/.lltag/formats. and listen, if that file exists, the system-wide one is ignored. like, fully ghosted. π
these files contain entries that start with a line like this:
[%n - %a - %t]
a title between brackets that gets displayed at runtime. cute, right? it's the lil name tag for your format. β¨
then, the following 3 lines must be given to explain how the format is actually used to parse filenames:
type = basenameβ the type is eitherbasename(to parse the last part of the path to a file) orpath(to parse the directory part of the path to a file). and when you're actually parsing the path to target files, thebasenameandpathparsers get assembled together β all possible combinations will be tried. she's thorough, okay? πregexp = %L%N%S-%S%A%S-%S%A%Lβ a string composed of any characters, but with these special fields that do the heavy lifting:%Lfor delimiter (empty by default, or multiple spaces if--spaceswas given)%Sfor a space (or multiple spaces if--spaceswas given)%Nfor numbers%Afor an alphanumeric string without/%Pfor any path (alphanumeric string with/)%%for%
indices = NUMBER,ARTIST,TITLEβ a list of fields to match (either given by their full name or their associated letter) corresponding to each%Nor%Afield in the previous format. it may be:AUTHOR(ora)ALBUM(A)GENRE(g)NUMBER(n)TITLE(t)DATE(d)COMMENT(c)IGNORE(i)
also, see FORMAT in the manpage of lltag for the details about these fields. iykyk π§
π¦ SEE ALSO π¦
π AUTHOR π
Brice Goglin
and that's the whole page, bestie β this little beauty dropped in November 2006, lives in the File Formats Manual section, and goes by lltag_formats(5). slay. πβ¨π
π¦ where this page comes from
- debian bookworm: lltag 0.14.6-1.1
- debian trixie: lltag 0.14.6-1.1
- ubuntu jammy: lltag 0.14.6-1.1
- ubuntu noble: lltag 0.14.6-1.1
- ubuntu resolute: lltag 0.14.6-2 Β· GPL-2.0-or-later
- ubuntu stonking: lltag 0.14.6-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms