git-annex-groupwanted(1)
omg hii bestie π welcome to git-annex-groupwanted(1), straight outta the General Commands Manual β¨ this one is lowkey iconic: it gets or sets the groupwanted expression, and it's giving "group chat rules but for annex repos" π«Ά
β¨ 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". periodt π
For example, to configure a group named redundantarchive, and make repositories in the group want to contain 3 copies of every file, you'd do this exact vibe:
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
okay so important bestie: there must be exactly one groupwanted expression configured among all the groups that a repository is in; if there's more than one, none of them will be used π yes, zero, not one, fr fr.
To clear a groupwanted expression, use an empty value for the expression, eg:
git-annex groupwanted foo ""
πΈ OPTIONS πΈ
The git-annex-common-options(1) can be used. that's the whole options moment, no cap β¨
π¦ SEE ALSO π¦
go read these besties, iykyk π«Ά
π AUTHOR π
Joey Hess <id@joeyh.name> wrote this one, slay π
xoxo bestie, from the git-annex-groupwanted(1) page in the General Commands Manual π
β¨π«Ά
π¦ where this page comes from
- alpine 3.24: git-annex-doc 10.20261026-r0 Β· AGPL-3.0-or-later
- arch rolling: git-annex 10.20261026-2 Β· AGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms