2015-03-24 19:23:59 +00:00
|
|
|
# NAME
|
|
|
|
|
|
|
|
git-annex info - shows information about the specified item or the repository as a whole
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
2016-09-15 16:51:00 +00:00
|
|
|
git annex info `[directory|file|treeish|remote|uuid ...]`
|
2015-03-24 19:23:59 +00:00
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
Displays statistics and other information for the specified item,
|
2016-09-15 16:51:00 +00:00
|
|
|
which can be a directory, or a file, or a treeish, or a remote,
|
|
|
|
or the uuid of a repository.
|
2015-03-24 19:23:59 +00:00
|
|
|
|
|
|
|
When no item is specified, displays statistics and information
|
|
|
|
for the repository as a whole.
|
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
* `--fast`
|
|
|
|
|
|
|
|
Only show the data that can be gathered quickly.
|
|
|
|
|
|
|
|
* `--json`
|
|
|
|
|
2015-03-25 16:09:49 +00:00
|
|
|
Enable JSON output. This is intended to be parsed by programs that use
|
|
|
|
git-annex. Each line of output is a JSON object.
|
2015-03-24 19:23:59 +00:00
|
|
|
|
2018-02-19 18:28:17 +00:00
|
|
|
* `--json-error-messages`
|
|
|
|
|
2018-02-19 19:33:59 +00:00
|
|
|
Messages that would normally be output to standard error are included in
|
|
|
|
the json instead.
|
2018-02-19 18:28:17 +00:00
|
|
|
|
2015-04-12 18:08:40 +00:00
|
|
|
* `--bytes`
|
|
|
|
|
|
|
|
Show file sizes in bytes, disabling the default nicer units.
|
|
|
|
|
2016-01-15 19:56:47 +00:00
|
|
|
* `--batch`
|
|
|
|
|
|
|
|
Enable batch mode, in which a line containing an item is read from stdin,
|
|
|
|
the information about it is output to stdout, and repeat.
|
|
|
|
|
2015-03-24 19:23:59 +00:00
|
|
|
* file matching options
|
|
|
|
|
|
|
|
When a directory is specified, the [[git-annex-matching-options]](1)
|
|
|
|
can be used to select the files in the directory that are included
|
|
|
|
in the statistics.
|
|
|
|
|
|
|
|
# EXAMPLES
|
|
|
|
|
|
|
|
Suppose you want to run "git annex get .", but
|
|
|
|
would first like to see how much disk space that will use.
|
|
|
|
Then run:
|
|
|
|
|
|
|
|
git annex info --fast . --not --in here
|
|
|
|
|
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
[[git-annex]](1)
|
|
|
|
|
|
|
|
# AUTHOR
|
|
|
|
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|