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 in any accessible remotes.
17
18       Exits 0 if the content is verified present in the remote, or 1 if it is
19       verified to not be present in the remote. If there is  a  problem,  the
20       special  exit  code  100  is  used,  and  an error message is output to
21       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
31       Also the git-annex-common-options(1) can be used.
32

SEE ALSO

34       git-annex(1)
35

AUTHOR

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