Add file uploader script

This commit is contained in:
g1n 2021-08-26 15:48:57 +00:00
parent 0652f368d7
commit 41acfe87d4
1 changed files with 7 additions and 0 deletions

7
ttm.sh Executable file
View File

@ -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