Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

apply-group

batfiles apply-group --group <group> [--skip-action <id>]... [--dry-run]

Execute a group’s actions in declaration order, with sync’s action behavior and the shared execution options. --group is required; --skip-action is repeatable. See selection by command for member exclusions.

An invalid or unknown group exits 1; a group exists only when an action names it. A qualified group in an unread inclusion fails naming that inclusion. An existing group with no eligible actions exits 0 and reports:

nothing to apply: every action in the group is disabled, skipped, excluded by its own condition, or was not contributed

A run action runs only if its trigger fires; the bootstrap trigger never does here. -v gives individual reasons. Inclusions count only through the actions they contribute, so a group containing an inclusion that contributes nothing also has nothing to apply.

See global options and output conventions.