grabmaps
public python v1 · immutable#!/usr/bin/pythonimport osfrom subprocess import callfor bits in (filter(bool, l.strip().split(' ')) for l in open('curl_urls.txt', 'rU') if len(l) > 1): file, url = bits if '*' in file: print "Not file:", file elif not os.path.exists(file): print "Get", file call(['wget', '-c', url+file]) else: print "Skip", file