From 43826623c06f2a402737b6b7678dff8798f48a1e Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 1 May 2022 15:06:38 +0200 Subject: udpate --- .local/bin/vps | 52 ++++++++++++++++++++++------------------------------ 1 file changed, 22 insertions(+), 30 deletions(-) (limited to '.local/bin/vps') diff --git a/.local/bin/vps b/.local/bin/vps index 9c2160d..27016e9 100755 --- a/.local/bin/vps +++ b/.local/bin/vps @@ -3,40 +3,32 @@ serv_addr="root@jozanofastora.xyz" # jozanofastora-www -# rsync -urvhP --delete-after \ -# --exclude '.*' \ -# --exclude 'README.org' \ -# --exclude 'LICENSE' \ -# "$HOME"/dev/web/jozanofastora-www/ \ -# $serv_addr:/usr/local/www/jozan -# gitjoe-www -# rsync -urvhP --delete-after \ -# --exclude '.*' \ -# --exclude 'README.org' \ -# --exclude 'LICENSE' \ -# --exclude 'users' \ -# "$HOME"/dev/web/gitjoe-www/ \ -# $serv_addr:/usr/local/www/gitjoe +rsync -urvhP --delete-after \ + --exclude '.*' \ + --exclude 'README.org' \ + --exclude 'LICENSE' \ + "$HOME"/dev/web/jozanofastora-www/ \ + $serv_addr:/usr/local/www/jozan # gitjoe-cgit rsync -urvhP \ --exclude '.*' \ --exclude 'README.org' \ --exclude 'LICENSE' \ "$HOME"/dev/web/gitjoe-cgit/ \ - $serv_addr:/usr/local/www/cgit + $serv_addr:/usr/local/www/gitjoe # jozanofastora-gemini -# rsync -urvhP --delete-after \ -# --exclude '.*' \ -# --exclude 'README.org' \ -# --exclude 'LICENSE' \ -# "$HOME"/dev/web/jozanofastora-gemini/ \ -# $serv_addr:/usr/local/gemini -# # jozanofastora-scripts -# rsync -urvhP --delete-after \ -# --exclude '.*' \ -# --exclude 'README.org' \ -# --exclude 'LICENSE' \ -# "$HOME"/dev/perl/jozanofastora-scripts/ \ -# $serv_addr:/root/scripts -# # backups -# rsync -urvhP "$HOME/.config/newsboat/urls" $serv_addr:/root/backup/apps/newsboat +rsync -urvhP --delete-after \ + --exclude '.*' \ + --exclude 'README.org' \ + --exclude 'LICENSE' \ + "$HOME"/dev/web/jozanofastora-gemini/ \ + $serv_addr:/usr/local/gemini +# jozanofastora-scripts +rsync -urvhP --delete-after \ + --exclude '.*' \ + --exclude 'README.org' \ + --exclude 'LICENSE' \ + "$HOME"/dev/perl/jozanofastora-scripts/ \ + $serv_addr:/root/scripts +# backups +rsync -urvhP "$HOME/.config/newsboat/urls" $serv_addr:/root/backup/apps/newsboat -- cgit v1.2.3