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

11 lines
228 B
Bash
Executable File

#!/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