1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-10 23:53:31 -05:00

Added Linux upload bash script

This commit is contained in:
wxyzzyrd 2016-08-14 23:11:18 -04:00
parent 183e109807
commit 7c530e4278

3
assets/tools/upload.sh Executable file
View File

@ -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 '[\\\,"]'