mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
fbe7815eec
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3246 6c8d7289-2bf4-0310-a012-ef5d649a1542
11 lines
197 B
Bash
Executable File
11 lines
197 B
Bash
Executable File
#!/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
|