.TH git-annex-checkpresentkey 1 .SH NAME git-annex-checkpresentkey \- check if key is present in remote .PP .SH SYNOPSIS git annex checkpresentkey \fBkey\fP \fB[remote]\fP .PP .SH DESCRIPTION This plumbing\-level command verifies if the specified key's content is present in the specified remote. .PP When no remote is specified, it verifies if the key's content is present in any accessible remotes. .PP Exits 0 if the content is verified present in the remote, or 1 if it is verified to not be present in the remote. If there is a problem, the special exit code 100 is used, and an error message is output to stderr. .PP .SH OPTIONS .IP "\fB\-\-batch\fP" .IP Enables batch mode. In this mode, the \fBkey\fP is not specified at the command line, but the \fBremote\fP may still be. Lines containing keys are read from stdin, and a line is output with "1" if the key is verified to be present, and "0" otherwise. .IP .IP "Also the git-annex\-common\-options(1) can be used." .SH SEE ALSO git-annex(1) .PP .SH AUTHOR Joey Hess .PP .PP