#!/bin/sh for y in 13 14; do for m in 01 02 03 04 05 06 07 08 09 10 11 12; do F=m-labs/20$y-$m.txt [ -s $F ] || wget -O $F http://irclog.whitequark.org/$F done done