summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-24 14:31:39 +0200
committerJoe <bousset.rudy@gmail.com>2022-05-24 14:31:39 +0200
commit16334b769df1617dd0223c9303a0810b4bb19216 (patch)
tree08ee291efb30f49a6acd5dbf52eefd33a7758247
parentscrwork udpate with new laptop (diff)
downloaddotfiles-bsd-16334b769df1617dd0223c9303a0810b4bb19216.tar.gz
dotfiles-bsd-16334b769df1617dd0223c9303a0810b4bb19216.tar.bz2
dotfiles-bsd-16334b769df1617dd0223c9303a0810b4bb19216.tar.xz
dotfiles-bsd-16334b769df1617dd0223c9303a0810b4bb19216.tar.zst
dotfiles-bsd-16334b769df1617dd0223c9303a0810b4bb19216.zip
new script to pull calcurse
-rwxr-xr-x.local/bin/pullcal7
-rwxr-xr-x.local/bin/vps18
2 files changed, 16 insertions, 9 deletions
diff --git a/.local/bin/pullcal b/.local/bin/pullcal
new file mode 100755
index 0000000..e00ff5c
--- /dev/null
+++ b/.local/bin/pullcal
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+host="jozanofastora.xyz"
+
+rsync -avh --delete-after \
+ $host:backup/apps/calcurse/ \
+ $XDG_DATA_HOME/calcurse
diff --git a/.local/bin/vps b/.local/bin/vps
index 0749348..564d7c0 100755
--- a/.local/bin/vps
+++ b/.local/bin/vps
@@ -3,7 +3,7 @@
serv_addr="95.179.223.82"
# joe-www
-rsync -avhz --no-o --no-g --progress --delete-after \
+rsync -avh --no-o --no-g --progress --delete-after \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
@@ -11,38 +11,38 @@ rsync -avhz --no-o --no-g --progress --delete-after \
"$HOME"/dev/web/joe-www/ \
root@$serv_addr:/usr/local/www/jozan
# joe-gemini
-rsync -avhz --no-o --no-g --progress --delete-after \
+rsync -avh --no-o --no-g --progress --delete-after \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
"$HOME"/dev/web/joe-gemini/ \
root@$serv_addr:/usr/local/gemini
# gitjoe-cgit
-rsync -avhz --no-o --no-g --progress --delete-after \
+rsync -avh --no-o --no-g --progress --delete-after \
--exclude 'cgit.cgi' \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
"$HOME"/dev/web/gitjoe-cgit/ \
root@$serv_addr:/usr/local/www/gitjoe
-rsync -avhz --no-o --no-g --progress \
+rsync -avh --no-o --no-g --progress \
"$HOME"/dev/perl/gitjoe-scripts/git-ro-daemon.csh \
git-ro@$serv_addr:/usr/local/git/git-ro
# joe-scripts
-rsync -avhz --no-o --no-g --progress --delete-after \
+rsync -avh --no-o --no-g --progress --delete-after \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
"$HOME"/dev/perl/joe-scripts/ \
root@$serv_addr:/root/bin/joe
# gitjoe-scripts
-rsync -avhz --no-o --no-g --progress --delete-after \
+rsync -avh --no-o --no-g --progress --delete-after \
--exclude '.*' \
--exclude 'README.org' \
--exclude 'LICENSE' \
"$HOME"/dev/perl/gitjoe-scripts/src/ \
root@$serv_addr:/root/bin/gitjoe
# backups
-rsync -avhz --no-o --no-g --progress "$XDG_CONFIG_HOME"/newsboat/urls root@$serv_addr:/root/backup/apps/newsboat
-rsync -avhz --no-o --no-g --progress --delete-after "$XDG_DATA_HOME"/calcurse/ root@$serv_addr:/root/backup/apps/calcurse
-rsync -avhz --no-o --no-g --progress "$XDG_DATA_HOME"/abook/addressbook root@$serv_addr:/root/backup/apps/abook
+rsync -avh --no-o --no-g --progress "$XDG_CONFIG_HOME"/newsboat/urls root@$serv_addr:/root/backup/apps/newsboat
+rsync -avh --no-o --no-g --progress --delete-after "$XDG_DATA_HOME"/calcurse/ root@$serv_addr:/root/backup/apps/calcurse
+rsync -avh --no-o --no-g --progress "$XDG_DATA_HOME"/abook/addressbook root@$serv_addr:/root/backup/apps/abook