dot_testing/scripts/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