1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-13 08:37:38 -05:00
shimapan/assets/tools/upload.sh

4 lines
156 B
Bash
Raw Normal View History

2016-08-14 23:11:18 -04:00
#!/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 '[\\\,"]'