#!/bin/sh if [ -z "$@" ] then curl -F'file=<-' http://0x0.st else for file in "$@" do curl -F"file=@$file" http://0x0.st done fi