summaryrefslogtreecommitdiffstats
path: root/.local/bin/vps
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-04-18 02:54:22 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-04-18 02:54:22 +0200
commitd7c3c0bc05dbe4284375efd2592ddfe4fbec21c6 (patch)
treeab44bb6f821fae3cec4ba61f55fd2da4d0963f91 /.local/bin/vps
parentNew alias thanks salad (diff)
downloaddotfiles-bsd-d7c3c0bc05dbe4284375efd2592ddfe4fbec21c6.tar.gz
dotfiles-bsd-d7c3c0bc05dbe4284375efd2592ddfe4fbec21c6.tar.bz2
dotfiles-bsd-d7c3c0bc05dbe4284375efd2592ddfe4fbec21c6.tar.xz
dotfiles-bsd-d7c3c0bc05dbe4284375efd2592ddfe4fbec21c6.tar.zst
dotfiles-bsd-d7c3c0bc05dbe4284375efd2592ddfe4fbec21c6.zip
Renamed script to go faster
Diffstat (limited to '.local/bin/vps')
-rwxr-xr-x.local/bin/vps13
1 files changed, 13 insertions, 0 deletions
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