summaryrefslogtreecommitdiffstats
path: root/.local/bin/vps
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-08 02:37:04 +0200
committerJoe <bousset.rudy@gmail.com>2022-05-08 02:37:04 +0200
commit2a4fb6c0c533cd01e52e2a1e56935fd8ad87eed3 (patch)
treef32e1abb9e0fedd0542535ca5519ebb2baca9d91 /.local/bin/vps
parenttypo (diff)
downloaddotfiles-bsd-2a4fb6c0c533cd01e52e2a1e56935fd8ad87eed3.tar.gz
dotfiles-bsd-2a4fb6c0c533cd01e52e2a1e56935fd8ad87eed3.tar.bz2
dotfiles-bsd-2a4fb6c0c533cd01e52e2a1e56935fd8ad87eed3.tar.xz
dotfiles-bsd-2a4fb6c0c533cd01e52e2a1e56935fd8ad87eed3.tar.zst
dotfiles-bsd-2a4fb6c0c533cd01e52e2a1e56935fd8ad87eed3.zip
update
Diffstat (limited to '.local/bin/vps')
-rwxr-xr-x.local/bin/vps29
1 files changed, 19 insertions, 10 deletions
diff --git a/.local/bin/vps b/.local/bin/vps
index 2828ed1..78cffc2 100755
--- a/.local/bin/vps
+++ b/.local/bin/vps
@@ -1,15 +1,22 @@
#!/bin/sh
-serv_addr="root@jozanofastora.xyz"
+serv_addr="root@95.179.223.82"
-# jozanofastora-www
+# joe-www
rsync -urvhP --delete-after \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
--exclude 'asm-example.cgi' \
- "$HOME"/dev/web/jozanofastora-www/ \
+ "$HOME"/dev/web/joe-www/ \
$serv_addr:/usr/local/www/jozan
+# joe-gemini
+rsync -urvhP --delete-after \
+ --exclude '.*' \
+ --exclude 'README.org' \
+ --exclude 'LICENSE' \
+ "$HOME"/dev/web/joe-gemini/ \
+ $serv_addr:/usr/local/gemini
# gitjoe-cgit
rsync -urvhP \
--exclude '.*' \
@@ -17,19 +24,21 @@ rsync -urvhP \
--exclude 'LICENSE' \
"$HOME"/dev/web/gitjoe-cgit/ \
$serv_addr:/usr/local/www/gitjoe
-# jozanofastora-gemini
+# joe-scripts
rsync -urvhP --delete-after \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
- "$HOME"/dev/web/jozanofastora-gemini/ \
- $serv_addr:/usr/local/gemini
-# jozanofastora-scripts
+ "$HOME"/dev/perl/joe-scripts/ \
+ $serv_addr:/root/bin/joe
+
+# gitjoe-scripts
rsync -urvhP --delete-after \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
- "$HOME"/dev/perl/jozanofastora-scripts/ \
- $serv_addr:/root/scripts
+ "$HOME"/dev/perl/gitjoe-scripts/src/ \
+ $serv_addr:/root/bin/gitjoe
# backups
-rsync -urvhP "$HOME/.config/newsboat/urls" $serv_addr:/root/backup/apps/newsboat
+rsync -uvhP "$XDG_CONFIG_HOME"/newsboat/urls $serv_addr:/root/backup/apps/newsboat
+rsync -uvhP "$HOME"/.mozilla/firefox/jozan_privacy.tar.xz $serv_addr:/root/backup/apps/firefox