1git-annex-expire(1) General Commands Manual git-annex-expire(1)
2
3
4
6 git-annex-expire - expire inactive repositories
7
9 git annex expire [repository:]time ...
10
12 This command expires repositories that have not performed some activity
13 within a specified time period. A repository is expired by marking it
14 as dead. De-expiration is also done; if a dead repository performed
15 some activity recently, it is marked as semitrusted again.
16
17 This can be useful when it's not possible to keep track of the state of
18 repositories manually. For example, a distributed network of reposito‐
19 ries where nobody can directly access all the repositories to check
20 their status.
21
22 The repository can be specified using the name of a remote, or the
23 description or uuid of the repository.
24
25 The time is in the form "60d" or "1y". A time of "never" will disable
26 expiration.
27
28 If a time is specified without a repository, it is used as the default
29 value for all repositories. Note that the current repository is never
30 expired.
31
33 --no-act
34
35 Print out what would be done, but not not actually expire or
36 unexpire any repositories.
37
38 --activity=Name
39 Specify the activity that a repository must have performed to
40 avoid being expired. The default is any activity.
41
42 Currently, the only activity that can be performed to avoid
43 expiration is git annex fsck. Note that fscking a remote updates
44 the expiration of the remote repository, not the local reposi‐
45 tory.
46
47 The first version of git-annex that recorded fsck activity was
48 5.20150405.
49
51 git-annex(1)
52
53 git-annex-fsck(1)
54
55 git-annex-schedule(1)
56
57 git-annex-dead(1)
58
59 git-annex-semitrust(1)
60
62 Joey Hess <id@joeyh.name>
63
64 git-annex-expire(1)