#!/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