diff options
Diffstat (limited to '.local/bin/vps')
-rwxr-xr-x | .local/bin/vps | 52 |
1 files changed, 22 insertions, 30 deletions
diff --git a/.local/bin/vps b/.local/bin/vps index 9c2160d..27016e9 100755 --- a/.local/bin/vps +++ b/.local/bin/vps @@ -3,40 +3,32 @@ serv_addr="root@jozanofastora.xyz" # jozanofastora-www -# rsync -urvhP --delete-after \ -# --exclude '.*' \ -# --exclude 'README.org' \ -# --exclude 'LICENSE' \ -# "$HOME"/dev/web/jozanofastora-www/ \ -# $serv_addr:/usr/local/www/jozan -# gitjoe-www -# rsync -urvhP --delete-after \ -# --exclude '.*' \ -# --exclude 'README.org' \ -# --exclude 'LICENSE' \ -# --exclude 'users' \ -# "$HOME"/dev/web/gitjoe-www/ \ -# $serv_addr:/usr/local/www/gitjoe +rsync -urvhP --delete-after \ + --exclude '.*' \ + --exclude 'README.org' \ + --exclude 'LICENSE' \ + "$HOME"/dev/web/jozanofastora-www/ \ + $serv_addr:/usr/local/www/jozan # gitjoe-cgit rsync -urvhP \ --exclude '.*' \ --exclude 'README.org' \ --exclude 'LICENSE' \ "$HOME"/dev/web/gitjoe-cgit/ \ - $serv_addr:/usr/local/www/cgit + $serv_addr:/usr/local/www/gitjoe # jozanofastora-gemini -# rsync -urvhP --delete-after \ -# --exclude '.*' \ -# --exclude 'README.org' \ -# --exclude 'LICENSE' \ -# "$HOME"/dev/web/jozanofastora-gemini/ \ -# $serv_addr:/usr/local/gemini -# # jozanofastora-scripts -# rsync -urvhP --delete-after \ -# --exclude '.*' \ -# --exclude 'README.org' \ -# --exclude 'LICENSE' \ -# "$HOME"/dev/perl/jozanofastora-scripts/ \ -# $serv_addr:/root/scripts -# # backups -# rsync -urvhP "$HOME/.config/newsboat/urls" $serv_addr:/root/backup/apps/newsboat +rsync -urvhP --delete-after \ + --exclude '.*' \ + --exclude 'README.org' \ + --exclude 'LICENSE' \ + "$HOME"/dev/web/jozanofastora-gemini/ \ + $serv_addr:/usr/local/gemini +# jozanofastora-scripts +rsync -urvhP --delete-after \ + --exclude '.*' \ + --exclude 'README.org' \ + --exclude 'LICENSE' \ + "$HOME"/dev/perl/jozanofastora-scripts/ \ + $serv_addr:/root/scripts +# backups +rsync -urvhP "$HOME/.config/newsboat/urls" $serv_addr:/root/backup/apps/newsboat |