git-annex-groupwanted(1)

git-annex-groupwanted1

Get or set groupwanted expression

Usage

git annex groupwanted groupname [expression]

Overview

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

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.

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.

Releases

6 releases since Debian 9 (Stretch); the text changed 3 times.

  1. 9
  2. 10–11
  3. 12–13
  4. Arch

Author

Joey Hess <[email protected]>

From git-annex 10.20261026-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.