Skip to content

Instantly share code, notes, and snippets.

@ttscoff
Created August 7, 2020 17:52
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Bunch.app pause/resume tricks for Dropbox and Backblaze (ideal for Podcast-related Bunches)
# Tricks for Bunch.app
# <https://brettterpstra.com/projects/bunch/>
# Normally we would quit Dropbox just by using:
# !Dropbox
# But Dropbox has some issues with an AppleScript-style quit
# so we revert to sending a KILL signal via shell script
$ killall Dropbox
# if you want to open the Dropbox process when toggling
# the bunch back off
!$ open -a Dropbox
# If you want to pause Backblaze (by default for 2 hours)
$ /Library/Backblaze.bzpkg/bztransmit -pausebackup
# Resume Backblaze syncing on quit
!$ /Library/Backblaze.bzpkg/bztransmit -completesync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment