Skip to content
/ pdef Public

Patch script generator of Mac OS X User Defaults

License

Notifications You must be signed in to change notification settings

yammerjp/pdef

Repository files navigation

CI

Blog Article (Japanese)

pdef

pdef generates patch script of Mac OS X User Defaults (property list).

Description

Before and after you set any environmental settings from GUI, please write out property lists to files.

pdef generates a shell-script with comparing files of a property list.

Next time you set the same environmental settings, you only execute the shell-script without manipulating GUI.

Install

$ brew install yammerjp/tap/pdef

Usage

$ defaults read > before

# Set any settings on GUI

$ defaults read > after

$ pdef before after > path/to/file

Demo

demo movie

Build

$ git clone https://github.com/yammerjp/pdef.git
$ cd pdef
$ make
# built binary is on bin/pdef

License

MIT

Auther

yammerjp