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 de‐
23 scription 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 un‐
36 expire 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 ex‐
43 piration is --activity=Fsck which corresponds to git annex fsck.
44 Note that fscking a remote updates the expiration of the remote
45 repository, not the local repository.
46
47 The first version of git-annex that recorded fsck activity was
48 5.20150405.
49
50 Also the git-annex-common-options(1) can be used.
51
53 git-annex(1)
54
55 git-annex-fsck(1)
56
57 git-annex-schedule(1)
58
59 git-annex-dead(1)
60
61 git-annex-semitrust(1)
62
64 Joey Hess <id@joeyh.name>
65
66 git-annex-expire(1)