1git-annex-examinekey(1)     General Commands Manual    git-annex-examinekey(1)
2
3
4

NAME

6       git-annex-examinekey - prints information from a key
7

SYNOPSIS

9       git annex examinekey [key ...]
10

DESCRIPTION

12       This plumbing-level command is given a key, and prints information that
13       can be determined purely by looking at the key.
14

OPTIONS

16       --format=value
17
18              Use custom output formatting.
19
20              The value is a format string, in which '${var}' is  expanded  to
21              the value of a variable. To right-justify a variable with white‐
22              space, use '${var;width}' ;  to  left-justify  a  variable,  use
23              '${var;-width}'; to escape unusual characters in a variable, use
24              '${escaped_var}'
25
26              These variables are available for use in formats: key,  backend,
27              bytesize,  humansize, keyname, hashdirlower, hashdirmixed, mtime
28              (for the mtime field of a WORM key).
29
30              Also, '\n' is a newline, '\000' is a NULL, etc.
31
32       --json Enable JSON output. This is intended to be  parsed  by  programs
33              that use git-annex. Each line of output is a JSON object.
34
35       --json-error-messages
36              Messages  that  would  normally  be output to standard error are
37              included in the json instead.
38
39       --batch
40              Enable batch mode, in which a line containing a key is read from
41              stdin, the information about it is output to stdout, and repeat.
42

EXAMPLES

44       The  location  a key's value is stored (in indirect mode) can be looked
45       up by running:
46
47        git          annex          examinekey           $KEY           --for‐
48       mat='.git/annex/objects/${hashdirmixed}${key}/${key}'
49

SEE ALSO

51       git-annex(1)
52

AUTHOR

54       Joey Hess <id@joeyh.name>
55
56                                                       git-annex-examinekey(1)
Impressum