tView images from the web - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 6aa269a6ab30e1988bdcb4a475af459cc6ff5081
(DIR) parent 6d0ffa0ea07d4ba8a3fc7b9af6e31f76eed9e044
(HTM) Author: z3bra <willy@mailoo.org>
Date: Mon, 10 Feb 2014 17:35:57 +0100
View images from the web
Diffstat:
A img | 7 +++++++
1 file changed, 7 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/img b/img
t@@ -0,0 +1,7 @@
+#!/bin/sh
+
+IMAGE=/tmp/`basename $1`
+echo "Downloading image.."
+curl -s "$1" > $IMAGE
+meh $IMAGE
+rm $IMAGE