diff options
author | Florian Pritz <f-p@gmx.at> | 2009-06-27 18:55:25 +0200 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-06-27 18:55:25 +0200 |
commit | be44b6fa8f378fb494239611b98e13bb4b51f45c (patch) | |
tree | f203633decb05e41a068d9b82afda11842508a12 /filebin.sh | |
parent | 89efacc9a81733d8a9ca938042ef31ffc70608c6 (diff) | |
download | bin-be44b6fa8f378fb494239611b98e13bb4b51f45c.tar.gz bin-be44b6fa8f378fb494239611b98e13bb4b51f45c.tar.xz |
new upload script
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 |