git-annex-addcomputed(1)
π git-annex-addcomputed π
okay so bestie, welcome to the General Commands Manual entry for git-annex-addcomputed, and babes, it's giving "let the computer do the crafting" β¨
πΈ NAME πΈ
git-annex-addcomputed β adds computed files to the repository π§
π SYNOPSIS π
git annex addcomputed --to=remote -- ...
π¦ DESCRIPTION π¦
So here's the tea: this command adds files to the annex that are computed from input files already in the repository, using a compute special remote. No cap. π₯
Once a file has been added to a compute remote, commands like git-annex get will use it to compute the content of the file. literally magic π
The syntax of this command after the -- is up to the program that the compute special remote is set up to run to perform the computation. so like, that part is not on git-annex, that's the program's whole personality.
To see the program's usage, you can run:
git-annex addcomputed --to=foo
Generally you will provide an input file (or files), and often also an output filename, and additional parameters to control the computation. π
There can be more than one input file that are combined to compute an output file. And multiple output files can be computed at the same time. multitasking queen π
Some examples of how this might look:
git-annex addcomputed --to=x -- convert file.raw file.jpeg passes=10
git-annex addcomputed --to=y -- compress foo --level=9
git-annex addcomputed --to=z -- clip foo 2:01-3:00 combine with bar to baz
heads up bestie: parameters that were passed togit-annex initremotewhen setting up the compute special remote will be appended to the end of the parameters provided togit-annex addcomputed. they're coming along whether you invited them or not π
β¨ OPTIONS β¨
π« --to=remote
Specify which remote will compute the files. π«Ά
This must be a compute remote. For example, one can be initialized with:
git-annex initremote photoconv type=compute \
program=git-annex-compute-photoconv
For details about compute remotes, and a list of some of the programs that are available, see https://git-annex.branchable.com/special_remotes/compute/
π« --fast
Adds computed files to the repository, without doing any work yet to compute their content. the procrastination option, we respect it π
This implies --unreproducible, because even if the compute remote produces reproducible output, it's not available. (you can't have the reproducibility if nobody did the computing, babe.)
π« --unreproducible, -u
Indicate that the computation is not expected to be fully reproducible. It can vary, in ways that produce files that are equivalent enough to be interchangeable, but are not necessarily identical. β¨
This is the default unless the compute remote indicates that it produces reproducible output.
π« --reproducible, -r
Indicate that the computation is expected to be fully reproducible. π
This is the default when the compute remote indicates that it produces reproducible output (except when using --fast).
okay serious moment: If a computation turns out not to be fully reproducible, then getting a computed file from the compute remote will later fail with a checksum verification error. One thing that can be done then is to use git-annex recompute --original --unreproducible. noted and screenshotted πΈ
π« --backend
Specifies which key-value backend to use.
π« --json
Enable JSON output. This is intended to be parsed by programs that use git-annex. Each line of output is a JSON object. π€
Also the git-annex-common-options(1) can be used. (yep, the whole shared options squad π«Ά)
π SEE ALSO π
π AUTHOR π
Joey Hess <id@joeyh.name>
and that's the whole page bestie, from the git-annex manual pages, git-annex-addcomputed(1), General Commands Manual β no version, no date, just vibes and a very good command. ππ go compute something iconic, ily, bye!! π¦β¨
π¦ 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
- debian trixie: git-annex 10.20250416-2 Β· AGPL-3.0-or-later
- debian trixie: git-annex 10.20250416-2+deb13u1 Β· AGPL-3.0-or-later
- epel 10: git-annex 10.20250320-1.el10_0 Β· AGPL-3.0-or-later
- fedora 43: git-annex 10.20250630-4.fc43 Β· AGPL-3.0-or-later
- 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 questing: git-annex 10.20250721-1
- 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