1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-09-21 11:11:22 -04: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 '[\\\,"]'