diff options
Diffstat (limited to 'tempfs.sh')
-rwxr-xr-x | tempfs.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tempfs.sh b/tempfs.sh deleted file mode 100755 index dcc2867..0000000 --- a/tempfs.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -#---------------------------------------------------- -# Version: 0.1.1 -# Author: Florian "Bluewind" Pritz <flo@xssn.at> -# -# Licensed under WTFPL v2 -# (see COPYING for full license text) -# -#---------------------------------------------------- -# Upload file to tempfs and copy URL to cpulboard -#---------------------------------------------------- - -URL=$(curl -# -F userfile="@$1" -F 'expirationTime=5' -H "Expect: " http://www.tempfs.com/upload.php | grep -o 'http://.*/uploadedFiles/.*' | sed 's/<\/span>//') - -echo -n $URL | nohup >/dev/null 2>&1 xclip -echo $URL - |