diff options
Diffstat (limited to 'filebin.sh')
-rwxr-xr-x | filebin.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/filebin.sh b/filebin.sh new file mode 100755 index 0000000..6e414bf --- /dev/null +++ b/filebin.sh @@ -0,0 +1,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 |