add sync_dotfiles script

Signed-off-by: Michael Grote <michael.grote@dataport.de>
This commit is contained in:
Michael Grote 2024-07-05 10:22:34 +02:00
parent c49df0de54
commit f824a762d8

4
scripts/sync_dotfiles_dp.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
if [ "$HOSTNAME" = lbdlspa001 ]; then
rsync -av --delete -e ssh /home/.autofs/lunixpf001/home-linux/grotemi-admin/repos/dotfiles/ lzeorpt001.mgmt.dpaor.org:/homes/MGMT/grotemi-admin/repos/dotfiles
fi