From 3ef81d1a0ccca9c7f751c0cdc64ae1da6ae5dee1 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 30 Mar 2022 00:56:29 +0200 Subject: Fixed stuff --- .local/bin/vps-update | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to '.local/bin') diff --git a/.local/bin/vps-update b/.local/bin/vps-update index 9bd5d6d..e09f515 100755 --- a/.local/bin/vps-update +++ b/.local/bin/vps-update @@ -1,11 +1,13 @@ #!/usr/local/bin/dash +serv_addr="root@jozanofastora.xyz" + rsync -urvhP --delete-after --exclude '.*' --exclude 'README.org' \ - "$HOME"/dev/web/jozanleclerc.xyz/ root@jozanofastora.xyz:/usr/local/www/jozan + "$HOME"/dev/web/jozanofastora.xyz/ $serv_addr:/usr/local/www/jozan rsync -urvhP --exclude '.*' --exclude 'README.org' \ - "$HOME"/dev/web/gitjoe/ root@jozanofastora.xyz:/usr/local/www/gitjoe + "$HOME"/dev/web/gitjoe/ $serv_addr:/usr/local/www/gitjoe rsync -urvhP --delete-after --exclude '.*' --exclude 'README.org' \ - "$HOME"/dev/web/jozan_gemini/ root@jozanofastora.xyz:/usr/local/gemini + "$HOME"/dev/web/jozan_gemini/ $serv_addr:/usr/local/gemini rsync -urvhP --delete-after --exclude '.*' --exclude 'README.org' --exclude 'LICENSE' \ - "$HOME"/dev/perl/serv-scripts/ root@jozanofastora.xyz:/root/scripts -rsync -urvhP "$HOME/.config/newsboat/urls" root@jozanofastora.xyz:/root/backup/apps/newsboat + "$HOME"/dev/perl/serv-scripts/ $serv_addr:/root/scripts +rsync -urvhP "$HOME/.config/newsboat/urls" $serv_addr:/root/backup/apps/newsboat -- cgit v1.2.3