For completeness sake, first one is for files in /etc and /var/adsuck
and the second one for my home dotfiles:

$ cat src/etc/bootstrap.sh                                                   
#/bin/sh

rsync \
-av \
--exclude 'bootstrap.sh' \
/storage/src/etc /

cp resolv.conf /var/adsuck/files/

$ cat src/dotfiles/bootstrap.sh                                                 
                         
#/bin/sh

rsync \
-av \
--exclude 'bootstrap.sh' \
/storage/src/dotfiles/ /home/sramov/

Reply via email to