1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-10 23:53:31 -05:00
shimapan/assets/tools/upload.sh
2017-01-24 18:33:34 -05:00

4 lines
164 B
Bash
Executable File

#!/bin/bash
URL=$(curl -s -F "apikey=YOURKEYHERE" -F "files[]=@$1" https://www.shimapan.rocks/upload.php | grep url | awk '{print $2}')
echo $URL | tr -d '[\\\,"]'