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