2015-03-23 22:20:42 +00:00
|
|
|
# NAME
|
|
|
|
|
|
|
|
git-annex groupwanted - get or set groupwanted expression
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
|
|
git annex groupwanted `groupname [expression]`
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
Sets or displays the groupwanted expression. This will be used by
|
|
|
|
repositories that are in the group, and that have their preferred
|
|
|
|
content expression set to "groupwanted".
|
|
|
|
|
|
|
|
For example, to configure a group named redundantarchive, and
|
|
|
|
make repositories in the group want to contain 3 copies of every file:
|
|
|
|
|
|
|
|
git annex groupwanted redundantarchive "not (copies=redundantarchive:3)"
|
|
|
|
for repo in foo bar baz; do
|
|
|
|
git annex group $repo redundantarchive
|
|
|
|
git annex wanted $repo groupwanted
|
|
|
|
done
|
|
|
|
|
2018-06-12 16:44:53 +00:00
|
|
|
Note that there must be exactly one groupwanted expression configured
|
|
|
|
amoung all the groups that a repository is in; if there's more than one,
|
|
|
|
none of them will be used.
|
|
|
|
|
2015-03-23 22:20:42 +00:00
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
[[git-annex]](1)
|
|
|
|
|
2015-05-29 16:12:55 +00:00
|
|
|
[[git-annex-group]](1)
|
|
|
|
|
|
|
|
[[git-annex-wanted]](1)
|
|
|
|
|
|
|
|
[[git-annex-preferred-content]](1)
|
|
|
|
|
2015-03-23 22:20:42 +00:00
|
|
|
# AUTHOR
|
|
|
|
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|