Files
scripts/sh/sharefile
Adam French [sc21a2f] 185b32bdb7 initial commit
2024-10-08 11:50:48 +01:00

12 lines
254 B
Bash
Executable File

#!/bin/bash
[ $# -eq 0 ] && read -p "Provide a file to share: " file || file=$1
curl -F "file=@$file" 0x0.st
# if [ $# -eq 0 ]; then
# echo "Please provide a file to share"
# else
# file=$1
# curl -F "file=@$file" 0x0.st
# echo "Shared File!"
# fi