Skip to main content

with-lock

8BitSafe-cli [common options] repo with-lock [options] REPOSITORY COMMAND [ARGS...]
positional argumentsdescription
REPOSITORYrepository to lock
COMMANDcommand to run
ARGScommand arguments

Description

Run a command while holding the repo lock.

Useful for copying the repository using something like rsync while making sure the repository is not changed during sync.