System Preferences for Time Machine

schiffne
New Contributor

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 3

mm2270
Legendary Contributor III
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.

schiffne
New Contributor

worked perfectly! also within a script policy!

mjsanders
New Contributor III

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