BUPSTASH-EXEC-WITH-LOCKS(1)

πŸ“¦
version 0.12.0 Β· 3 versions
, in alpine 3.24

πŸ’… 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 to BUPSTASH_REPOSITORY if 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