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