Is there a terminal command I can use to quit Google's "Backup and Sync" software? I am writing a Bash script to set the machine up for maximum battery life and I would like to shutdown all non-essential software that I usually have running in the background such as Backup and Sync. I tried the usual suspects (osascript -e 'tell app "Backup and Sync from Google" to quit' AND killall 'Backup and Sync from Google') without success.
Terminal – Command to Quit Google’s Backup and Sync
googlemacterminal
Related Question
- Mac – Meaning of MAC terminal command prompt
- Mac – Detect Terminal Color “Theme” from Command Line
- macOS Terminal – How to Force Quit Terminal
- Terminal – How to Start a Bash Command That Doesn’t Close on Quit
- Mac – Customise Mac Terminal command: Control+w
- Google – How to Fix Persistent Crashes in Backup and Sync
Best Answer
Weird, just tried
killall "Backup and Sync from Google"
and it failed.Try
killall Backup\ and\ Sync
, that worked for me for some reason. Adding\ from
seems to break things.