utils/sh/paste

5 lines
95 B
Bash
Executable File

#!/bin/sh
[ "$1" = "" ] && exit 1
[ -f "$1" ] && curl -F"file=@${1}" https://0x0.st && exit 0