1git-annex-info(1) General Commands Manual git-annex-info(1)
2
3
4
6 git-annex-info - information about an item or the repository
7
9 git annex info [directory|file|treeish|remote|description|uuid ...]
10
12 Displays statistics and other information for the specified item, which
13 can be a directory, or a file, or a treeish, or a remote, or the de‐
14 scription or uuid of a repository.
15
16 When no item is specified, displays statistics and information for the
17 local repository and all known annexed files.
18
20 --fast
21
22 Only show the data that can be gathered quickly.
23
24 --json Enable JSON output. This is intended to be parsed by programs
25 that use git-annex. Each line of output is a JSON object.
26
27 --json-error-messages
28 Messages that would normally be output to standard error are in‐
29 cluded in the json instead.
30
31 --bytes
32 Show file sizes in bytes, disabling the default nicer units.
33
34 --batch
35 Enable batch mode, in which a line containing an item is read
36 from stdin, the information about it is output to stdout, and
37 repeat.
38
39 -z Makes the --batch input be delimited by nulls instead of the
40 usual newlines.
41
42 file matching options
43 When a directory is specified, the git-annex-matching-options(1)
44 can be used to select the files in the directory that are in‐
45 cluded in the statistics.
46
47 Also the git-annex-common-options(1) can be used.
48
50 Suppose you want to run "git annex get .", but would first like to see
51 how much disk space that will use. Then run:
52
53 git annex info --fast . --not --in here
54
56 git-annex(1)
57
59 Joey Hess <id@joeyh.name>
60
61 git-annex-info(1)