System Preferences for Time Machine

New Contributor

Hi everyone,

does anyone know how to open the System Preferences Pane for Time Machine via terminal. I found this

but it does not contain time machine.

Many thanks


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.

New Contributor

worked perfectly! also within a script policy!

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