git-annex-contentlocation(1)

git-annex-contentlocation1

Looks up content for a key

Usage

git annex contentlocation [key ...]

Overview

This plumbing-level command looks up filename used to store the content of a key. The filename is output to stdout. If the key's content is not present in the local repository, nothing is output, and it exits nonzero.

Options

--batch

Enable batch mode, in which a line containing the key is read from stdin, the filename to its content is output to stdout (with a trailing newline), and repeat.

Note that if a key's content is not present, an empty line is output to stdout instead.

Also the git-annex-common-options(1) can be used.

Releases

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

  1. 9–10
  2. 11
  3. 12–Arch

Author

Joey Hess <[email protected]>

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