From 7c530e42780f697ca9a59544ace597e9a933f252 Mon Sep 17 00:00:00 2001 From: wxyzzyrd Date: Sun, 14 Aug 2016 23:11:18 -0400 Subject: [PATCH] Added Linux upload bash script --- assets/tools/upload.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 assets/tools/upload.sh diff --git a/assets/tools/upload.sh b/assets/tools/upload.sh new file mode 100755 index 0000000..c077be8 --- /dev/null +++ b/assets/tools/upload.sh @@ -0,0 +1,3 @@ +#!/bin/bash +URL=$(curl -s -F "apikey=YOURKEYHERE" -F "files[]=@$1" www.shimapan.rocks/upload.php | grep url | awk '{print $2}') +echo $URL | tr -d '[\\\,"]'