Posted on 11-16-2016 08:43 AM
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
Posted on 11-16-2016 08:51 AM
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.
Posted on 11-16-2016 10:01 AM
worked perfectly! also within a script policy!
Posted on 11-17-2016 08:24 AM
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