scripts

various script and utils
git clone git://z3bra.org/scripts
Log | Files | Refs

commit e4297e8a0b26e183874b14c565fed4eff2d5d92a
parent 7a4e11bf2c8f53fc95e80e0fd04225c920188922
Author: z3bra <willyatmailoodotorg>
Date:   Mon Sep 21 23:36:32 +0200

download: get prompted for a filename to download

Diffstat:
download | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/download b/download @@ -1,4 +1,5 @@ #!/bin/sh +cd tmp OUT="$(thinglaunch -o)" -curl -s "$@" > $OUT +test -z "$OUT" && curl -sLO "$@" || curl -s "$@" > $OUT