#!/bin/bash FILE=$1 if [ "$FILE" = "" ]; then echo "Usage: $0 " >&2 exit 1 else curl -F "file=@$FILE" https://x0.at/ fi echo ""