summaryrefslogtreecommitdiffstats
path: root/.local/bin/vps-update
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-27 23:22:55 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-27 23:22:55 +0100
commita6827d42ae504ec113bd8b3061e81362c58fd82c (patch)
treed6228915f2db60e2e48599ea060736f764551785 /.local/bin/vps-update
parentRevert (diff)
downloaddotfiles-bsd-a6827d42ae504ec113bd8b3061e81362c58fd82c.tar.gz
dotfiles-bsd-a6827d42ae504ec113bd8b3061e81362c58fd82c.tar.bz2
dotfiles-bsd-a6827d42ae504ec113bd8b3061e81362c58fd82c.tar.xz
dotfiles-bsd-a6827d42ae504ec113bd8b3061e81362c58fd82c.tar.zst
dotfiles-bsd-a6827d42ae504ec113bd8b3061e81362c58fd82c.zip
Added script to rsync my VPS
Diffstat (limited to '')
-rwxr-xr-x.local/bin/vps-update8
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/vps-update b/.local/bin/vps-update
new file mode 100755
index 0000000..6cd5e91
--- /dev/null
+++ b/.local/bin/vps-update
@@ -0,0 +1,8 @@
+#!/usr/local/bin/dash
+
+rsync -urvP --delete-after --exclude '.*' --exclude 'README.org' \
+ "$HOME"/Documents/dev/web/jozanleclerc.xyz/ root@jozanleclerc.xyz:/usr/local/www/jozan
+rsync -urvP --exclude '.*' --exclude 'README.org' \
+ "$HOME"/Documents/dev/web/gitjoe/ root@jozanleclerc.xyz:/usr/local/www/gitjoe
+rsync -urvP --delete-after --exclude '.*' --exclude 'README.org' --exclude 'LICENSE' \
+ "$HOME"/Documents/dev/perl/serv-scripts/ root@jozanleclerc.xyz:/root/scripts