Skip to content

Instantly share code, notes, and snippets.

@ttscoff
Created August 7, 2020 17:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ttscoff/71c922e5fef966684e7bcc770f0a25b6 to your computer and use it in GitHub Desktop.
Save ttscoff/71c922e5fef966684e7bcc770f0a25b6 to your computer and use it in GitHub Desktop.
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