ambevar-dotfiles/.scripts/wget-batch

13 lines
191 B
Plaintext
Raw Normal View History

#!/bin/sh
if [ $# -ne 2 ]; then
2013-06-25 22:56:10 +02:00
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"