BUPSTASH-EXEC-WITH-LOCKS(1)
π bupstash-exec-with-locks β like, the manual page, but make it make sense
okay so bestie, welcome to BUPSTASH-EXEC-WITH-LOCKS(1), straight out of the General Commands Manual. yes it's a real section, yes it's giving "old-school Unix but make it cute". sit down, grab a lil snack π, and let's get into it.
β¨ SYNOPSIS β¨
Run a command while holding exclusive locks on the repository. that's the whole vibe.
bupstash init -r REPO COMMAND...
(and before anyone in the group chat comes for me β yes, that's exactly what the page says, so that's exactly what I'm telling you π«Ά)
πΈ DESCRIPTION πΈ
bupstash exec-with-locks runs a command while exclusive locks are held on the bupstash repository. the way that this works is: for as long as your command is running, nobody else can go modifying that repo. no concurrent chaos, no two-processes-fighting-over-the-same-files energy. it's basically main character energy for your repository β it holds the room for the entire duration of the command. π
π OPTIONS π
-r,--repository_REPO_ β the repository you want to lock. defaults toBUPSTASH_REPOSITORYif it's not set. and listen: unlike other commands, this one does not support remote repository access β so don't come at it with a remote path, it's not that girl. π
π¦ ENVIRONMENT π¦
BUPSTASH_REPOSITORYβ the repository to lock.
π EXAMPLES π
here's the moment you've all been waiting for:
$ bupstash exec-with-locks -r ./repo -- cp -r ./repo ./repo-backup
look at her go. locked, copied, slayed. β¨
π SEE ALSO π
bupstash(1), bupstash-repository(7)
fr fr go read those next, they're iconic too π
and that's the whole page, bestie β brought to you by BUPSTASH-EXEC-WITH-LOCKS(1), dated May 2025. mwah, go lock something ππ
π¦ where this page comes from
- alpine 3.24: bupstash-doc 0.12.0-r7 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms