2013-03-03 11:19:50 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if [ $# -ne 2 ]; then
|
2013-06-25 22:56:10 +02:00
|
|
|
cat<<EOF
|
2013-10-23 11:59:52 +02:00
|
|
|
Usage: ${0##*/} EXT URI
|
2013-06-25 22:56:10 +02:00
|
|
|
|
|
|
|
Batch download recursively files with extension EXT located at URI.
|
|
|
|
EOF
|
2013-03-03 11:19:50 +01:00
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
2013-10-23 11:59:52 +02:00
|
|
|
wget -r -l1 --no-parent -A"$1" "$2"
|