organizing files

This commit is contained in:
Jeremy Borgman
2020-10-14 09:07:01 -05:00
committed by borgmanJeremy
parent 4eaad7b988
commit ce331924a4
20 changed files with 120 additions and 32 deletions

View File

@@ -1,19 +0,0 @@
#!/bin/sh
URL="https://transfer.sh"
if [ $# -eq 0 ]; then
echo "Usage: transfer.sh FILE\n"
exit 1
fi
FILE=$1
if [ ! -f "$FILE" ]; then
echo "File ${FILE} not found"
exit 1
fi
RESPONSE=$(curl -# -F "file=@${FILE}" "${URL}")
echo "${RESPONSE}" # to terminal