git-annex-expire(1) | General Commands Manual | git-annex-expire(1) |
git-annex-expire - expire inactive repositories
git annex expire [repository:]time ...
This command expires repositories that have not performed some activity within a specified time period. A repository is expired by marking it as dead. De-expiration is also done; if a dead repository performed some activity recently, it is marked as semitrusted again.
This can be useful when it's not possible to keep track of the state of repositories manually. For example, a distributed network of repositories where nobody can directly access all the repositories to check their status.
The repository can be specified using the name of a remote, or the description or uuid of the repository.
The time is in the form "60d" or "1y". A time of "never" will disable expiration.
If a time is specified without a repository, it is used as the default value for all repositories. Note that the current repository is never expired.
git-annex(1)
git-annex-fsck(1)
git-annex-schedule(1)
git-annex-dead(1)
git-annex-semitrust(1)
Joey Hess <id@joeyh.name>