From: Armaan Bhojwani Date: Sat, 1 May 2021 22:58:27 +0000 (-0400) Subject: pubup: change subdomain and variable expansion X-Git-Url: https://git.armaanb.net/?p=bin.git;a=commitdiff_plain;h=885898283827a821b60b0c5c8dd6c32ba49e65be pubup: change subdomain and variable expansion --- 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