From: Armaan Bhojwani Date: Wed, 7 Apr 2021 01:38:17 +0000 (-0400) Subject: pubup: add script X-Git-Tag: v0.0.1~5 X-Git-Url: https://git.armaanb.net/?p=bin.git;a=commitdiff_plain;h=2e5f0b4ff6f43c486774d5d97fa96c0da209462e pubup: add script --- diff --git a/pubup b/pubup new file mode 100755 index 0000000..d43be8f --- /dev/null +++ b/pubup @@ -0,0 +1,4 @@ +#!/usr/bin/env sh + +rsync "$1" root@armaanb.net:/var/www/armaanb.net/ +echo "https://armaanb.net/"$(basename "$1") | tee /dev/tty | xclip -sel c