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.
This is only for macOS of course 😉
- Go to the latest release and download the
goplist
executable. - Make
goplist
executable:chmod +x goplist
- Run
goplist
with./goplist -h
Alternatively you can build it yourself:
git clone git@github.com:ZhongXiLu/goplist.git
cd goplist
go install
goplist -h
- Simply run
goplist
in 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) andgoplist
will remember your last choice. After you are done, simply press ctrl + c andgoplist
will write your preferences to file (by defaultmacos.sh
). - Run
goplist -h
for help. - Currently,
goplist
is experimental and might not always work 😛
- Changing system preferences:
- This also works for some other applications, e.g. iTerm2: