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

NAME

6       git-annex-lookupkey - looks up key used for file
7

SYNOPSIS

9       git annex lookupkey [file ...]
10

DESCRIPTION

12       This plumbing-level command looks up the key used for a file in the in‐
13       dex. The key is output to stdout. If there is no key (because the  file
14       is not present in the index, or is not a git-annex managed file), noth‐
15       ing is output, and it exits nonzero.
16

OPTIONS

18       --batch
19
20              Enable batch mode, in which a line containing  the  filename  is
21              read  from  stdin,  the key is output to stdout (with a trailing
22              newline), and repeat.
23
24              Note that if there is no key corresponding to the file, an empty
25              line is output to stdout instead.
26
27       -z     Makes  the  --batch  input  be delimited by nulls instead of the
28              usual newlines.
29
30       Also the git-annex-common-options(1) can be used.
31

SEE ALSO

33       git-annex(1)
34

AUTHOR

36       Joey Hess <id@joeyh.name>
37
38                                                        git-annex-lookupkey(1)
Impressum