dotfiles/bin/share

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 ""