From 2e5f0b4ff6f43c486774d5d97fa96c0da209462e Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Tue, 6 Apr 2021 21:38:17 -0400 Subject: [PATCH] pubup: add script --- pubup | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 pubup 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 -- 2.39.2