Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Don't forget to batch your image retrieval!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Don't forget to batch your image retrieval!
Authored by: jqs on Jan 14, '05 10:03:31AM
What a great hint. I too had been suffering with this problem for quite some time and this has fixed it fast! Instead of using multiple commands for donwloading images froma server I suggest either creating a script that handles it or a simple command like (grabs MRTG graphs):

for i in 0 1 2 ; do curl http://your-server-ip/mrtg/host-eth$i-day.png -o /tmp/$i.png; mv /tmp/$i.png /tmp/geek-$i.png; done
That will get the job done nicely.

[ Reply to This | # ]
Don't forget to batch your image retrieval!
Authored by: phil4u2 on Jan 15, '05 10:28:27AM

I've had the same probleem with a webcam inage from my hometown.
Now I've tried your hint. One question, though: I end up with images in my /tmp/ map called geek-0.jpg, geek-1.jpg and geek-2.jpg. Which one do I use in GeekTools (to actually dispay it)???



[ Reply to This | # ]