0xdevalias / dotfiles

devalias does dotfiles
http://zachholman.com/2010/08/dotfiles-are-meant-to-be-forked/
MIT License
8 stars 1 forks source link

[fantastical] Automatically export/configure defaults/settings #14

Open 0xdevalias opened 4 years ago

0xdevalias commented 4 years ago

Some settings are able to sync via a paid subscription, but seemingly not everything. There also doesn't appear to currently be a built in way of exporting/re-importing our settings on a different computer.

It seems that the settings are stored in the following location (at least on my machine)

⇒  ls ~/Library/Containers | grep -i flexibits
85C27NK92C.com.flexibits.fantastical2.mac.helper/
com.flexibits.fantastical.core.libical-XPC/
com.flexibits.fantastical2.mac/
com.flexibits.fbcaldav.FBCalDAV-XPC/
⇒  ls ~/Library/Containers/com.flexibits.fantastical2.mac/Data/Library/SyncedPreferences
com.flexibits.fantastical2.mac.plist
find ~/Library/Containers/*flexibits* -type f

We can use defaults read for at least some of the settings, unsure if it correlates perfectly with the built in preferences as I haven't compared:

 defaults read com.flexibits.fantastical2.mac