[arch-general] A little script to deploy dot files

arnaud gaboury arnaud.gaboury at gmail.com
Wed Mar 14 12:15:15 EDT 2012


Sounds quite a good idea, as when moving from one host to another one,
being able to move the dot files would be of high interest.
Will try asap as I am currently moving some dotfiles form one old distro to
my new Arch one.

2012/3/14 郑文辉(Techlive Zheng) <techlivezheng at gmail.com>

> 2012/3/12 郑文辉(Techlive Zheng) <techlivezheng at gmail.com>:
> > [Inspired by tomd123 at bbs.archlinux.org](
> https://bbs.archlinux.org/viewtopic.php?id=134622),
> > I have wrote a small script to deploy the dotfiles acrossing viarous
> > hosts, may be you guys are interested to have a look.
> >
> > Github: https://github.com/techlivezheng/dotploy
> >
> > Thoughts and advices are very welcome, cause my bash skills are still
> > need much improving, there must be some ugly workaround.
> >
> > Regards,
> > Techlive Zheng
>
> Now it is support deploy dot files based on $HOSTNAME and $USER. If a
> dotfile under a specfic $HOSTNAME and $USER location existed, it will
> be used. Otherwise, the dot file with same name under $HOSTNAME
> directory will be used. Otherwise, under $USER directory in common
> directory. At last, if above all failed, the dot file in common
> directory will be used.
>
> This way, we can keep our dot files across several hosts of different
> user maintained in a central repo using git or dropbox.Then we can
> deploy or change it everywhere.
>



-- 
***********************************************************************
My profile:
https://plus.google.com/116159236040461325607/about?hl=fr
***********************************************************************


More information about the arch-general mailing list