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
14 description 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
29 included 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
45 included in the statistics.
46
48 Suppose you want to run "git annex get .", but would first like to see
49 how much disk space that will use. Then run:
50
51 git annex info --fast . --not --in here
52
54 git-annex(1)
55
57 Joey Hess <id@joeyh.name>
58
59 git-annex-info(1)