upload image to imm.io imagehost
Posted: Tue 01 Oct 2013, 14:37
here is a super simple script to upload an image to http://www.imm.io image host - just past into a bash script and run in terminal - Enter image path and it will upload and output a web link for sharing.
Code: Select all
#!/bin/sh
read -p "Enter Image: " IMAGE
curl -s -F "image=@$IMAGE" imm.io/store | tr "," "\n" | awk -F"\"" '/uri/{print $4}'