git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3246 6c8d7289-2bf4-0310-a012-ef5d649a1542pull/1/head
parent
df4fe259c9
commit
fbe7815eec
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
cd /tmp
|
||||
FILE=`tempfile`.html
|
||||
wget "$1" -O $FILE -k
|
||||
convert $FILE -resize 168x128 "$2"
|
||||
if [ -e "${2%.png}"-0.png ];then
|
||||
mv "${2%.png}"-0.png "${2}"
|
||||
rm "${2%.png}"-[0-9]*.png
|
||||
fi
|
||||
rm $FILE
|
Loading…
Reference in new issue