blob: 6e414bff8d3685dbc7655d0b181f5c5ccdeb277d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
#----------------------------------------------------
# Version: 0.1.0
# Author: Florian "Bluewind" Pritz <f-p@gmx.at>
#
# Licensed under WTFPL v2
# (see COPYING for full license text)
#
#----------------------------------------------------
# Upload file to my filebin and copy URL to clipboard
# (only works if useragent contains libcurl)
#----------------------------------------------------
URL=$(curl -# -L -F "userfile=@$1" http://filebin.server-speed.net/index.php/file/do_upload)
echo $URL
echo $URL | nohup &> /dev/null xclip
|