initial commit
This commit is contained in:
10
sh/getfile
Executable file
10
sh/getfile
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
[ $# -eq 0 ] && read -p "What is the 0x0.st assigned name: " file || file=$1
|
||||
curl "http://0x0.st/$file"
|
||||
|
||||
# !/bin/bash
|
||||
# if [ $# -eq 0 ]; then
|
||||
# echo "Add the 0x0.st linkname"
|
||||
# else
|
||||
# curl "http://0x0.st/$1"
|
||||
# fi
|
||||
11
sh/sharefile
Executable file
11
sh/sharefile
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user