#!/bin/bash

NO_OF_PARALLEL_DOWNLOADS=8
./osm_url_generator.pl | xargs -n2 -P $NO_OF_PARALLEL_DOWNLOADS ./osm_get_tile.sh
