From 885898283827a821b60b0c5c8dd6c32ba49e65be Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Sat, 1 May 2021 18:58:27 -0400 Subject: [PATCH] pubup: change subdomain and variable expansion --- pubup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pubup b/pubup index 3f4b8c3..1b6e85c 100755 --- a/pubup +++ b/pubup @@ -1,4 +1,4 @@ #!/usr/bin/env sh -rsync "$1" root@armaanb.net:${2:-/var/www/armaanb.net-http/} -echo "https://armaanb.net/"$(basename "$1") | tee /dev/tty | xclip -sel c +rsync "$1" "root@armaanb.net:/var/www/ftp/pub/${2}" +echo "https://ftp.armaanb.net/pub/"$(basename "$1") | tee /dev/tty | xclip -sel c -- 2.39.2