1git-annex-contentlocation(1)General Commands Manualgit-annex-contentlocation(1)
2
3
4
6 git-annex-contentlocation - looks up content for a key
7
9 git annex contentlocation [key ...]
10
12 This plumbing-level command looks up filename used to store the content
13 of a key. The filename is output to stdout. If the key's content is not
14 present in the local repository, nothing is output, and it exits
15 nonzero.
16
17 Note that in direct mode, the file will typically be in the git work
18 tree, and while its content should correspond to the key, the file
19 could become modified at any time after git-annex checks it.
20
22 --batch
23
24 Enable batch mode, in which a line containing the key is read
25 from stdin, the filename to its content is output to stdout
26 (with a trailing newline), and repeat.
27
28 Note that if a key's content is not present, an empty line is
29 output to stdout instead.
30
32 git-annex(1)
33
35 Joey Hess <id@joeyh.name>
36
37 git-annex-contentlocation(1)