[wget]


#!/usr/bin/python

import sys, urllib

def reporthook(a,b,c):
 print "% 3.1f%% of %d bytes\r" % (min(100, float(a * b) / c * 100), c),
 sys.stdout.flush()

for url in sys.argv[1:]:
 i = url.rfind('/')
 file = url[i+1:]
 print url, "->", file
 urllib.urlretrieve(url, file, reporthook)