Open xareelee opened 4 years ago
If I have a new Mac and download my dotfiles repo by
git clone
, willmackup restore
search this git repo automatically? Or do I need to copy the both.mackup.cfg
and.mackup/
to my home directory first before restore?
You'll have to manually link them; definitely understand why you'd want to avoid this, but it's relatively straightforward to put into an installer script, e.g. from my installer scripts:
echo "- Restore Dotfiles with Mackup..."
ln -sf "${DOTS}/.mackup.cfg" "${HOME}/.mackup.cfg"
ln -sf "${DOTS}/.mackup" "${HOME}/.mackup"
mackup restore -f
I read the
README.md
,mackup --help
, and themain.py
. It seems thatmackup
doesn't support--path
as a parameter to specify.mackup.cfg
and.mackup/
paths.For me, not only config files for apps, but also config files for
mackup
itself needs to be synchronized across computers. Currently, I need to use other tools likestow
to symlink.mackup.cfg
and.mackup/
to the home directory. It's a little verbose.If
mackup
could support--path
parameter to indicate where.mackup.cfg
and.mackup/
are, it would be very useful for some people like me.Atter
mackup backup
, I see both.mackup.cfg
and.mackup/
are backup in myfile_system
path.If I have a new Mac and download my dotfiles repo by
git clone
, willmackup restore
search this git repo automatically? Or do I need to copy the both.mackup.cfg
and.mackup/
to my home directory first before restore?