]> git.armaanb.net Git - bin.git/blob - pubup
pubup: change subdomain and variable expansion
[bin.git] / pubup
1 #!/usr/bin/env sh
2
3 rsync "$1" "root@armaanb.net:/var/www/ftp/pub/${2}"
4 echo "https://ftp.armaanb.net/pub/"$(basename "$1") | tee /dev/tty | xclip -sel c