bupstash-exec-with-locks(1)

bupstash-exec-with-locks1

Usage

Execute a command with exclusive locks on the repository.

bupstash init -r REPO COMMAND...

Overview

bupstash exec-with-locks executes a command with exclusive locks held on the bupstash repository, preventing concurrent modification to the repository for the duration of the command.

Options

-r, --repository REPO

Repository to lock. Defaults to BUPSTASH_REPOSITORY if not set. Unlike other commands, does not support remote repository access.

Environment

BUPSTASH_REPOSITORY

Repository to lock.

Examples

$ bupstash exec-with-locks -r ./repo -- cp -r ./repo ./repo-backup

From bupstash 0.12.0-4 in Arch Linux 2026-11-01. Parsed by carta from the page's roff source.