dot_testing/sh/paste

6 lines
102 B
Bash
Executable File

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