mackup
mackup copied to clipboard
Backing up system preferences?
Would it be possible to backup all system preferences including defaults read
?
You can easily call defaults domains
to list the domain and then call defaults export <domain> <destination>
on each.
I was thinking the same, wow!
@lra Would you be open to merge such a feature? I can do a pull request
Mackup is focused on config files rather than config exports, are the system preferences tied to an actual user file or can you only access them through a CLI command?
@lra Would you be open to merge such a feature? I can do a pull request
Before thinking about coding, how would this work? Mackup is relying on file system links to keep config files in sync. It does not regularly run to check if some files are in sync are not, it just setup links and does nothing afterward.
I don't see how this could work with this, it's not a daemon or run regularly.
It would seem that you need a new type of command, e.g., system or defaults, that the user runs periodically and understands that it isn't kept in sync in realtime.
Maybe using something like this can help for now.
https://github.com/clintmod/macprefs
You could backup all your preferences and add the folder to .mackup.cfg, no?