---
name: "git-annex-recompute"
section: "1"
platform: "linux"
package: "git-annex"
version: "10.20261026-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/git-annex-recompute"
---

# git-annex-recompute(1)

recompute computed files

## NAME

git-annex-recompute - recompute computed files

## SYNOPSIS

git-annex recompute \[path ...\]

## DESCRIPTION

This updates computed files that were added with [git-annex-addcomputed(1)](/git-annex-addcomputed/1.md).

By default, this only recomputes files whose input files have changed. The new contents of the input files are used to re-run the computation.

When the output of the computation is different, the computed file is updated with the new content. The updated file is staged in git.

## OPTIONS

- **--original**

  -

  Re-run the computation with the original input files content.

-

  - **--remote=name**

  Only recompute files that were computed by this compute remote.

-

  When this option is not used, all computed files are recomputed using whatever compute remote was originally used to add them. (In cases where a file can be computed by multiple remotes, the one with the lowest configured cost is used.)

-

  - **--unreproducible**, **-u**

  Indicate that the computation is not expected to be fully reproducible. It can vary, in ways that produce files that equivilant 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.

-

  - **--json**

  Enable JSON output. This is intended to be parsed by programs that use git-annex. Each line of output is a JSON object.

-

  - matching options

  The [git-annex-matching-options(1)](/git-annex-matching-options/1.md) can be used to control what files to recompute.

-

  - Also the [git-annex-common-options(1)](/git-annex-common-options/1.md) can be used.

  ## SEE ALSO

[git-annex(1)](/git-annex/1.md)

[git-annex-addcomputed(1)](/git-annex-addcomputed/1.md)

[git-annex-findcomputed(1)](/git-annex-findcomputed/1.md)

## AUTHOR

Joey Hess \<id@joeyh.name\>
