ostree-show(1)

ostree-show1

Output a metadata object

Usage

ostree show [OPTIONS ...] OBJECT

Overview

Given an object, shows the metadata for that object. For a particular revision, it will show the data for the most recent commit to that revision.

Options

--print-variant-type="TYPE"

Memory map OBJECT (in this case a filename) to the GVariant type string.

--list-metadata-keys

List the available metadata keys.

--print-metadata-key="KEY"

Print string value of metadata key.

--list-detached-metadata-keys

List the available detached metadata keys.

--print-detached-metadata-key="KEY"

Print string value of detached metadata key.

--print-sizes

Show the commit size metadata. This in only supported for commits that contain ostree.sizes metadata. This can be included when creating commits with ostree commit --generate-sizes.

--raw

Show raw variant data.

--gpg-homedir="HOMEDIR"

GPG home directory to use when looking for keyrings (if built with GPGME - GNU Privacy Guard Made Easy).

Examples

$ ostree show my-branch

        commit 67e382b11d213a402a5313e61cbc69dfd5ab93cb07
        Date:  2014-06-12 13:42:54 +0000

Releases

6 releases since Debian 9 (Stretch); the text changed 5 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

--list-detached-metadata-keys since Debian 13 (Trixie); --list-metadata-keys since Debian 13 (Trixie); --print-sizes since Debian 11 (Bullseye).

From ostree 2026.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.