dotfiles/bin/share
2017-03-31 13:54:00 +02:00

10 lines
137 B
Bash
Executable File

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