Skip to content

Instantly share code, notes, and snippets.

@matthacksteiner
Created April 25, 2013 13:48
Show Gist options
  • Save matthacksteiner/5459820 to your computer and use it in GitHub Desktop.
Save matthacksteiner/5459820 to your computer and use it in GitHub Desktop.
Start Time Machine Backup now #applescript
do shell script "/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper & "
@tjluoma
Copy link

tjluoma commented May 31, 2014

I think you’d need to do:

do shell script "/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper" with administrator privileges

but even so, it doesn’t seem to do anything in 10.9.3.

@tjluoma
Copy link

tjluoma commented May 31, 2014

This seems to accomplish what I wanted at least:

/usr/bin/tmutil startbackup --auto --block

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment