1 .\" Process this file with
2 .\" groff -man -Tascii vorbiscomment.1
4 .TH VORBISCOMMENT 1 "December 30, 2008" "Xiph.Org Foundation" "Ogg Vorbis Tools"
7 vorbiscomment \- List or edit comments in Ogg Vorbis files
18 .B [ -c commentfile | -t \*(lqname=value\*(rq ]
27 .B [ -c commentfile | -t \*(lqname=value\*(rq ]
36 Reads, modifies, and appends Ogg Vorbis audio file metadata tags.
41 .IP "-c file, --commentfile file"
42 Take comments from a file. The file is the same format as is output by the the -l option or given to the -t option: one element per line in 'tag=value' format. If the file is /dev/null and -w was passed, the existing comments will be removed.
46 List the comments in the Ogg Vorbis file.
48 Quiet mode. No messages are displayed.
49 .IP "-t 'name=value', --tag 'name=value'"
50 Specify a new tag on the command line. Each tag is given as a single string. The part before the '=' is treated as the tag name and the part after as the value.
52 Replace comments with the new set given either on the command line with -t or from a file with -c. If neither -c nor -t is given, the new set will be read from the standard input.
54 Read and write comments in UTF-8, rather than converting to the user's character set.
56 Quote/unquote newlines and backslashes in the comments. This ensures every comment is exactly one line in the output (or input), allowing to filter and round-trip them. Without it, you can only write multi-line comments by using -t and you can't reliably distinguish them from multiple one-line comments.
58 Supported escapes are c-style "\en", "\er", "\e\e" and "\e0". A backslash followed by anything else is an error.
60 Note: currently, anything after the first "\e0" is thrown away while writing. This is a bug -- the Vorbis format can safely store null characters, but most other tools wouldn't handle them anyway.
62 Display the version of vorbiscomment.
67 To just see what comment tags are in a file:
69 vorbiscomment -l file.ogg
71 To edit those comments:
73 vorbiscomment -l file.ogg > file.txt
74 [edit the comments in file.txt to your satisfaction]
75 vorbiscomment -w -c file.txt file.ogg newfile.ogg
77 To simply add a comment:
79 vorbiscomment -a -t 'ARTIST=No One You Know' file.ogg newfile.ogg
81 To add a set of comments from the standard input:
83 vorbiscomment -a file.ogg
84 ARTIST=No One You Know
85 ALBUM=The Famous Album
90 See http://xiph.org/vorbis/doc/v-comment.html for documentation on the Ogg Vorbis tag format, including a suggested list of canonical tag names.
97 Michael Smith <msmith@xiph.org>
99 Ralph Giles <giles@xiph.org>
105 Christopher L Cheney <ccheney@debian.org>
110 \fBoggenc\fR(1), \fBoggdec\fR(1), \fBogg123\fR(1), \fBogginfo\fR(1)