plumber

Plumber – a modern approach to plumbing
git clone git://r-36.net/plumber
Log | Files | Refs | README | LICENSE

imageopener (223B)


      1 #!/bin/sh
      2 
      3 mkdir -p $HOME/tmp/imagecache
      4 cd $HOME/tmp/imagecache
      5 
      6 file=$(basename "$1" | tr '*&,=' '___')
      7 
      8 curl \
      9 	--user-agent "Lynx/2.8.8dev.3 libwww-FM/2.14 SSL-MM/1.4.1" \
     10 	-Lk -o "$file" "$1"
     11 
     12 $PLUMB_IMAGE "${file}"
     13