Skip to main content
Question

System Preferences for Time Machine

  • November 16, 2016
  • 3 replies
  • 27 views

Forum|alt.badge.img+3

Hi everyone,

does anyone know how to open the System Preferences Pane for Time Machine via terminal. I found this
https://macosxautomation.com/system-prefs-links.html

but it does not contain time machine.

Many thanks
Marco

3 replies

mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • November 16, 2016
open /System/Library/PreferencePanes/TimeMachine.prefPane

will do it. But, I'm not sure how well the above will work when its executed from a policy that is triggered in a root context, instead of by the user. You might need to use one of the known tricks to get the command to run as the logged in user. I haven't tested it via a policy, so I'm only making a guess on that. Try it and see.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • November 16, 2016

worked perfectly! also within a script policy!


Forum|alt.badge.img+5
  • New Contributor
  • November 17, 2016

If you want to open the preference pane, maybe you even want to configure Time Machine settings?
use a profile (help online) , or use the tool 'tmutil' see

man tmutil

for help