$for i in `seq -w 1 18`; do wget http://example.com/book${i}.jpg -O book${i}.jpg; done
数字が0があって、001などの場合。
#!/bin/bash for i in `seq -f"%03g" 1 104` do wget -c "http://example.com/book$i.jpg" -O book$i.jpg done
#!/bin/sh for i in `seq -f"%03g" 1 104` do for j in `seq -w 1 50` do echo ${i}_${j} done done