Take my script above, and change the wget URL to be http://maemo.org/downloads/Maemo5/. Awk / sed command could be following: awk '/Downloads for Maemo5/ {print $0}' | \ sed 's/.*downloads\/list\/Maemo5\/all">\([0-9]*\).*/\1/' ...and still very bad at script writing. And still very upset for someone stealing my phone last weekend... Mother****er!