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