Tool that helps convert macOS preferences to bash commands. I initially wanted to save some of my macOS preferences as bash commands so I can use them in my dotfiles and whenever I would have to setup a new macOS environment, I can easily import my macOS preferences.
How to Install
This is only for macOS of course
- Go to the latest release and download the
chmod +x goplist
Alternatively you can build it yourself:
git clone firstname.lastname@example.org:ZhongXiLu/goplist.git cd goplist go install goplist -h
How to Run
- Simply run
goplistin any directory and it will record any changes to your preferences. Note that it may take some time for the OS to write your changes to disk. If you want to keep your current preference, simply toggle (with a small delay in between them) and
goplistwill remember your last choice. After you are done, simply press ctrl + c and
goplistwill write your preferences to file (by default
goplist -hfor help.
goplistis experimental and might not always work
- Changing system preferences:
- This also works for some other applications, e.g. iTerm2: