X-Git-Url: https://git.armaanb.net/?p=bin.git;a=blobdiff_plain;f=pubup;h=1b6e85c73e663031b6631afbc2831803ef1577aa;hp=3f4b8c38aaa6cd308067e62e99192478695d77f0;hb=885898283827a821b60b0c5c8dd6c32ba49e65be;hpb=3782ac5ae65c6c8d13a6552597e03be5a4782d7c 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