From 41acfe87d45759af8d4a95d8e04cf6d7d8f6f542 Mon Sep 17 00:00:00 2001 From: g1n Date: Thu, 26 Aug 2021 15:48:57 +0000 Subject: [PATCH] Add file uploader script --- ttm.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 ttm.sh diff --git a/ttm.sh b/ttm.sh new file mode 100755 index 0000000..da1d554 --- /dev/null +++ b/ttm.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# Simple file uploader to ttm.sh +if [ -z $1 ]; then + echo "usage: FILENAME" +else + cat $1 | curl -F file=@- https://ttm.sh +fi