#!/bin/sh
if [ $# -ne 2 ]; then
cat<<EOF
Usage: ${0##*/} EXT URI
Batch download recursively files with extension EXT located at URI.
EOF
exit
fi
wget -r -l1 --no-parent -A"$1" "$2"