VORBISCOMMENT(1)
β¨ NAME β¨
vorbiscomment β bestie, this is your little tool for listing or editing the comments inside Ogg Vorbis files π (also known as VORBISCOMMENT(1) if you're being formal at the function, iykyk)
πΈ SYNOPSIS πΈ
vorbiscomment [-l] [-R] [-e] file.ogg
vorbiscomment -a [ -c commentfile | -t βname=valueβ | -d βname=valueβ ]
[-q] [-R] [-e] in.ogg [out.ogg]
vorbiscomment -w [ -c commentfile | -t βname=valueβ ] [-q] [-R] [-e]
in.ogg [out.ogg]
π DESCRIPTION π
vorbiscomment reads, modifies, and appends Ogg Vorbis audio file metadata tags. That's it, that's the vibe β it's the girl who handles the tags so you don't have to. π
π¦ OPTIONS π¦
-a,--appendβ updates comments. She's adding to the situation, not replacing it π«- *
-c*file,--commentfilefile β takes the comments from a file. That file is in the exact same format that the-loption spits out, or the same one you'd hand to-t: one element per line, in'tag=value'format. Heads up though: if the file is/dev/nulland you also passed-w, the existing comments get deleted. Gone. Not a drill π -h,--helpβ shows the command help. She's helpful like that β¨-l,--listβ lists the comments in the Ogg Vorbis file. Just reading, no touching, respectful queen π-q,--quietβ quiet mode. No messages get displayed. Silent, mysterious, lowkey iconic π€«-t 'name=value',--tag 'name=value'β specify a new tag right there on the command line. Each tag is one single string. Everything before the'='is treated as the tag name, and everything after is treated as the value. Simple as that, fr fr π-d 'name[=value]',--rm 'name[=value]'β specify a tag on the command line that you want removed. Each tag is given as a single string. The part before the'='is the tag name, the part after is the value. If you don't give a value, then all tags with that name get deleted. If you do give a value, only the ones with matching values get deleted. Choose your fighter π-w,--writeβ replaces comments with the new set, which comes either from the command line with-tor from a file with-c. And if you gave her neither-cnor-t? Then the new set gets read from standard input. Surprise! π-R,--rawβ reads and writes comments in UTF-8, instead of converting them to the user's character set. Raw, unfiltered, main character energy β-e,--escapesβ quotes/unquotes newlines and backslashes in the comments. This is the one that makes sure every comment is exactly one line in the output (or the input), which means you can actually filter them and round-trip them. Without it, the only way to write multi-line comments is with-t, and you can't reliably tell them apart from a bunch of separate one-line comments. Messy. We don't do messy π
Supported escapes are c-style "\n", "\r", "\\" and "\0". A backslash followed by literally anything else is an error.
Note: currently, anything after the first "\0" gets thrown away while writing. That's a bug β the Vorbis format can safely store null characters, but most other tools wouldn't handle them anyway. Not me exposing the family drama π
-V,--versionβ displays the version ofvorbiscomment. Gotta know who you're dealing with π«Ά
π EXAMPLES π
Just wanna see what comment tags are in a file? Peek:
vorbiscomment -l file.ogg
Wanna edit those comments? Okay so:
vorbiscomment -l file.ogg > file.txt
[edit the comments in file.txt to your satisfaction]
vorbiscomment -w -c file.txt file.ogg newfile.ogg
Just adding a comment? One line, no stress:
vorbiscomment -a -t 'ARTIST=No One You Know' file.ogg newfile.ogg
Or add a whole set of comments from standard input:
vorbiscomment -a file.ogg
ARTIST=No One You Know
ALBUM=The Famous Album
<ctrl-d>
π§ TAG FORMAT π§
Go look at https://xiph.org/vorbis/doc/v-comment.html for the documentation on the Ogg Vorbis tag format β it's got a suggested list of canonical tag names in there too. Study the syllabus bestie, it's giving educational πβ¨
π AUTHORS π
Program Authors:
Michael Smith <msmith@xiph.org>
Ralph Giles <giles@xiph.org>
Manpage Author:
Christopher L Cheney <ccheney@debian.org>
π SEE ALSO π
oggenc(1), oggdec(1), ogg123(1), ogginfo(1)
And that's the whole page, bestie! This one came to you from the Xiph.Org Foundation, dated December 30, 2008 β old but gold, no cap. Go tag something gorgeous ππ¦β¨
π¦ where this page comes from
- alpine 3.24: vorbis-tools-doc 1.4.3-r2 Β· GPL-2.0-only
- arch rolling: vorbis-tools 1.4.3-1 Β· GPL2
- debian bookworm: vorbis-tools 1.4.2-1+b1
- debian trixie: vorbis-tools 1.4.3-1
- nixos 26.05: vorbis-tools 1.4.3
- nixpkgs unstable: vorbis-tools 1.4.3
- opensuse-leap 16.0: vorbis-tools 1.4.2-bp160.2.1 Β· GPL-2.0-only
- opensuse-leap 16.0: vorbis-tools 1.4.2-bp160.2.1 Β· GPL-2.0-only
- opensuse-leap 16.0: vorbis-tools 1.4.2-bp160.2.1 Β· GPL-2.0-only
- opensuse-leap 16.0: vorbis-tools 1.4.2-bp160.2.1 Β· GPL-2.0-only
- ubuntu jammy: vorbis-tools 1.4.2-1
- ubuntu noble: vorbis-tools 1.4.2-2
- ubuntu questing: vorbis-tools 1.4.3-1
- ubuntu resolute: vorbis-tools 1.4.3-1build1
- ubuntu stonking: vorbis-tools 1.4.3-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms