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
13       index. The key is output to stdout. If there is  no  key  (because  the
14       file  is not present in the index, or is not a git-annex managed file),
15       nothing 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

SEE ALSO

31       git-annex(1)
32

AUTHOR

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