---
name: "oggz-comment"
section: "1"
platform: "linux"
package: "liboggz"
version: "1.1.3-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/oggz-comment"
---

# oggz-comment(1)

List or edit comments in an Ogg file.

## NAME

oggz-comment — List or edit comments in an Ogg file.

## SYNOPSIS

**oggz-comment** \[-l  \| --list \]

**oggz-comment** \[-o **filename**  \| --output **filename** \]  \[-d  \| --delete \]  \[-a  \| --all \]  \[-s **serialno**  \| --serialno **serialno** \]  \[-c **content-type**  \| --content-type **content-type** \] filename

**oggz-comment** \[-h  \| --help \]  \[-v  \| --version \]

## Description

**oggz-comment** lists or edits the comments of  an Ogg file.

## Options

**oggz-comment** accepts the following options:

### Listing options

- \-l, --list

  List the comments in the given file.

### Editing options

- \-o **filename**, --output **filename**

  Write output to the specified  **filename**.

- \-d, --delete

  Delete comments before editing.

- \-a, --all

  Edit comments for all logical bitstreams.

- \-c **content-type**, --content-type **content-type**

  Edit comments of the logical bitstreams with  specified **content-type**.  Run **[oggz-known-codecs(1)](/oggz-known-codecs/1.md)** for a full list of codecs known by the installed version of oggz.

- \-s **serialno**, --serialno **serialno**

  Edit comments of the logical bitstream with  specified **serialno**.

### Miscellaneous options

- \-h, --help

  Display usage information and exit.

- \-v, --version

  Output version information and exit.

## EXAMPLES

List all comments in file.ogg:

`oggz comment -l file.ogg`

List only the comments in the Theora bitstream in file.ogv:

`oggz comment -l -c theora file.ogv`

Add the comment "GENRE=Rock" to the Vorbis bitstream of file.ogv, writing output to output.ogv:

`oggz comment -c vorbis -o output.ogv file.ogg GENRE=Rock`

## AUTHOR

Kangyuan Niu        August  5, 2007;

## COPYRIGHT

Copyright © 2007 Annodex Association

## SEE ALSO

**[vorbiscomment(1)](/vorbiscomment/1.md)**,  **[ogginfo(1)](/ogginfo/1.md)**,  **[oggz-info(1)](/oggz-info/1.md)**,  **hogg(1)**
