From a6827d42ae504ec113bd8b3061e81362c58fd82c Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 27 Oct 2020 23:22:55 +0100 Subject: Added script to rsync my VPS --- .local/bin/vps-update | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 .local/bin/vps-update (limited to '.local/bin') 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 -- cgit v1.2.3