1git-annex-groupwanted(1) General Commands Manual git-annex-groupwanted(1)
2
3
4
6 git-annex-groupwanted - get or set groupwanted expression
7
9 git annex groupwanted groupname [expression]
10
12 Sets or displays the groupwanted expression. This will be used by
13 repositories that are in the group, and that have their preferred con‐
14 tent expression set to "groupwanted".
15
16 For example, to configure a group named redundantarchive, and make
17 repositories in the group want to contain 3 copies of every file:
18
19 git annex groupwanted redundantarchive "not (copies=redun‐
20 dantarchive:3)"
21 for repo in foo bar baz; do
22 git annex group $repo redundantarchive
23 git annex wanted $repo groupwanted
24 done
25
26 Note that there must be exactly one groupwanted expression configured
27 amoung all the groups that a repository is in; if there's more than
28 one, none of them will be used.
29
31 The git-annex-common-options(1) can be used.
32
34 git-annex(1)
35
36 git-annex-group(1)
37
38 git-annex-wanted(1)
39
40 git-annex-preferred-content(1)
41
43 Joey Hess <id@joeyh.name>
44
45 git-annex-groupwanted(1)