From d7c3c0bc05dbe4284375efd2592ddfe4fbec21c6 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 18 Apr 2022 02:54:22 +0200 Subject: Renamed script to go faster --- .local/bin/vps | 13 +++++++++++++ .local/bin/vps-update | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) create mode 100755 .local/bin/vps delete mode 100755 .local/bin/vps-update (limited to '.local/bin') diff --git a/.local/bin/vps b/.local/bin/vps new file mode 100755 index 0000000..e09f515 --- /dev/null +++ b/.local/bin/vps @@ -0,0 +1,13 @@ +#!/usr/local/bin/dash + +serv_addr="root@jozanofastora.xyz" + +rsync -urvhP --delete-after --exclude '.*' --exclude 'README.org' \ + "$HOME"/dev/web/jozanofastora.xyz/ $serv_addr:/usr/local/www/jozan +rsync -urvhP --exclude '.*' --exclude 'README.org' \ + "$HOME"/dev/web/gitjoe/ $serv_addr:/usr/local/www/gitjoe +rsync -urvhP --delete-after --exclude '.*' --exclude 'README.org' \ + "$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/ $serv_addr:/root/scripts +rsync -urvhP "$HOME/.config/newsboat/urls" $serv_addr:/root/backup/apps/newsboat diff --git a/.local/bin/vps-update b/.local/bin/vps-update deleted file mode 100755 index e09f515..0000000 --- a/.local/bin/vps-update +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/local/bin/dash - -serv_addr="root@jozanofastora.xyz" - -rsync -urvhP --delete-after --exclude '.*' --exclude 'README.org' \ - "$HOME"/dev/web/jozanofastora.xyz/ $serv_addr:/usr/local/www/jozan -rsync -urvhP --exclude '.*' --exclude 'README.org' \ - "$HOME"/dev/web/gitjoe/ $serv_addr:/usr/local/www/gitjoe -rsync -urvhP --delete-after --exclude '.*' --exclude 'README.org' \ - "$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/ $serv_addr:/root/scripts -rsync -urvhP "$HOME/.config/newsboat/urls" $serv_addr:/root/backup/apps/newsboat -- cgit v1.2.3