mirror of
https://github.com/fergalmoran/flameshot.git
synced 2025-12-22 09:51:06 +00:00
organizing files
This commit is contained in:
committed by
borgmanJeremy
parent
4eaad7b988
commit
ce331924a4
@@ -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
|
||||
Reference in New Issue
Block a user