amrwc / macos-preferences-tools

Tools for determining macOS system preferences command-line instructions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

macOS Preferences Tools

Tools for determining macOS system preferences from the low, plist domains level. They help analysing what is being changed through the System Preferences.app GUI.

Usage

Please note: when the preferences in the user's home folder seem not to change when using System Preferences.app, try using the --root flag for backups.

# Save all the current preferences
./make_backup --before [--root]

Open System Preferences.app, do the changes you want to be able to perform in the script, and close the app.

# Save the new preferences
./make_backup --after [--root]
# Check for changes
./compare_full_backups [--root]

The above will tell which domains have changed. The next step is to decompile them to XML and compare them to see which key-value pairs have changed.

./plist_compare <domain_name> code

About

Tools for determining macOS system preferences command-line instructions


Languages

Language:Shell 100.0%