Files
dotfiles/script/.config/script/upload.sh
2022-05-26 16:39:56 +01:00

7 lines
152 B
Bash
Executable File

#!/bin/sh
FILE=$(fd -t f|fzf)
LINK=$(curl -# "https://oshi.at" -F "f=@$FILE"|awk '/DL/ {print $2}')
printf "$LINK"|xclip -selection c
printf "$LINK\n"