1git-annex-checkpresentkey(1)General Commands Manualgit-annex-checkpresentkey(1)
2
3
4

NAME

6       git-annex-checkpresentkey - check if key is present in remote
7

SYNOPSIS

9       git annex checkpresentkey key [remote]
10

DESCRIPTION

12       This  plumbing-level command verifies if the specified key's content is
13       present in the specified remote.
14
15       When no remote is specified,  it  verifies  if  the  key's  content  is
16       present  somewhere, checking accessible remotes until it finds the con‐
17       tent.
18
19       Exits 0 if the content is verified present, or 1 if it is  verified  to
20       not  be  present.  If  there is a problem, the special exit code 100 is
21       used, and an error message is output to stderr.
22

OPTIONS

24       --batch
25
26              Enables batch mode. In this mode, the key is  not  specified  at
27              the  command line, but the remote may still be. Lines containing
28              keys are read from stdin, and a line is output with "1"  if  the
29              key is verified to be present, and "0" otherwise.
30

SEE ALSO

32       git-annex(1)
33

AUTHOR

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