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