Usage:
vorbiscomment [-l] file.ogg (to list the comments)
vorbiscomment -a in.ogg out.ogg (to append comments)
vorbiscomment -w in.ogg out.ogg (to modify comments)
[tab]
in the write case, a new set of comments in the form
[tab]
'TAG=value' is expected on stdin. This set will
[tab]
completely replace the existing set.
Either of -a and -w can take only a single filename,
in which case a temporary file will be used.
-c can be used to take comments from a specified file
instead of stdin.
Example: vorbiscomment -a in.ogg -c comments.txt
will append the comments in comments.txt to in.ogg
Finally, you may specify any number of tags to add on
the command line using the -t option. e.g.
vorbiscomment -a in.ogg -t "ARTIST=Some Guy" -t "TITLE=A Title"
(note that when using this, reading comments from the comment
file or stdin is disabled)
Raw mode (--raw, -R) will read and write comments in UTF-8,
rather than converting to the user's character set. This is
useful for using vorbiscomment in scripts. However, this is
not sufficient for general round-tripping of comments in all
cases.