ambevar-dotfiles/.scripts/wget-batch

13 lines
186 B
Plaintext
Raw Normal View History

#!/bin/sh
if [ $# -ne 2 ]; then
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
exit
fi
2013-10-23 11:59:52 +02:00
wget -r -l1 --no-parent -A"$1" "$2"