git-annex-info(1)
π git-annex-info(1) π
okay bestie, so this is a page from the General Commands Manual, and it's literally all about git-annex-info β the lil command that tells you stuff. no cap, it's the gossip girl of your repo. π«Ά
β¨ NAME β¨
git-annex-info β information about an item or the repository
πΈ SYNOPSIS πΈ
git annex info [directory|file|treeish|remote|description|uuid ...]
π¦ DESCRIPTION π¦
Displays statistics and other information for the specified item. it's giving "tell me everything, i'm nosy" π
When no item is specified, displays overall information. This includes a list of all known repositories, how much annexed data is present in the local repository, the total size of all annexed data in the working tree, the combined size of annexed data in all repositories, and the annex sizes of each repository. the full tea, the whole scoop, zero filter. π₯
When a directory is specified, displays information about the annexed files in that directory (and subdirectories). This includes how much annexed data is present in the local repository, the total size of all annexed data in the directory, how many files have the specified numcopies or more (+1, +2 etc) or less (-1, -2 etc), and information about how much of the annexed data is stored in known repositories. subdirectories too, she does not skip a single one β¨
When a treeish is specified, displays similar information as when a directory is specified, but about the annexed files in that treeish. same energy, different source, iykyk π
When a remote, or description of a repository, or uuid is specified, displays information about the specified repository, including the total amount of annexed data stored in it, and a variety of configuration information. like a whole lil profile page for that repo, obsessed π
π OPTIONS π
--show=nameβ Avoid info doing work to calculate things you don't need by specifying what to show. This option can be specified more than once. (yes bestie, stack 'em, it's a build-your-own-info situation π )
The name is the text before the : in the info output, eg local annex size and annex sizes of repositories. so like, whatever the label says before the colon? that's the vibe you pass in.
--fastβ Only show the information that can be gathered quickly. the low-effort, high-speed, no-thoughts-just-results mode πβοΈ--jsonβ Enable JSON output. This is intended to be parsed by programs that usegit-annex. Each line of output is a JSON object. for the robots π€β¨--json-error-messagesβ Messages that would normally be output to standard error are included in the JSON instead. errors but make it structured, iconic honestly--bytesβ Show file sizes in bytes, disabling the default nicer units. raw numbers only, noMiBcuteness, we're going feral with it π--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. feed her items, she feeds you answers, over and over, forever π-zβ Makes the--batchinput be delimited by nulls instead of the usual newlines. for when your filenames are chaotic and newlines simply cannot be trusted π--autoenableβ Display a list of special remotes that have been configured to autoenable. the remotes that just show up on their own, main character energy fr fr--dead-repositoriesβ Display a list of repositories that have been marked as dead. Such repositories are not displayed in other info displays. rip to them but they're different π (and yeah, they stay hidden everywhere else too)- matching options β The
git-annex-matching-options(1)can be used to select what files to consider when operating on a directory. These options are ignored when operating on other items. β οΈ important: they only do anything for directories, everywhere else they get ignored, no cap. - Also the
git-annex-common-options(1)can be used. the usual suspects, always invited π
π 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
like, vibe check the damage before you commit to it, bestie π§
π SEE ALSO π
β AUTHOR β
Joey Hess <id@joeyh.name>
and that's the whole page, you ate that π«Ά this came off the git-annex-info(1) page from the General Commands Manual β go forth and info your heart out, bestie β¨ππ
π¦ where this page comes from
- alpine 3.24: git-annex-doc 10.20261026-r0 Β· AGPL-3.0-or-later
- arch rolling: git-annex 10.20261026-2 Β· AGPL-3.0-only
- fedora 43: git-annex 10.20250929-5.fc43 Β· AGPL-3.0-or-later
- fedora 44: git-annex 10.20260115-1.fc44 Β· AGPL-3.0-or-later
- nixos 26.05: git-annex 10.20260421
- nixpkgs unstable: git-annex 10.20260421
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 Β· AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 Β· AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 Β· AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- ubuntu resolute: git-annex 10.20251029-1ubuntu1 Β· AGPL-3.0-or-later
- ubuntu stonking: git-annex 10.20251029-1ubuntu1 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms