other versions
- jessie-backports 5.20151208-1~bpo8+1
- stretch 6.20170101-1+deb9u2
- testing 7.20190129-2
- stretch-backports 7.20190129-2~bpo9+1
- unstable 7.20190129-2
git-annex-lookupkey(1) | General Commands Manual | git-annex-lookupkey(1) |
NAME¶
git-annex-lookupkey - looks up key used for fileSYNOPSIS¶
git annex lookupkey [file ...]DESCRIPTION¶
This plumbing-level command looks up the key used for a file in the index. The key is output to stdout. If there is no key (because the file is not present in the index, or is not a git-annex managed file), nothing is output, and it exits nonzero.OPTIONS¶
- --batch
- Enable batch mode, in which a line containing the filename is read from stdin, the key is output to stdout (with a trailing newline), and repeat.
- Note that if there is no key corresponding to the file, an empty line is output to stdout instead.