Linux
Copy: "Arg list too long"
find $DIR -name '*' | xargs cp -v --target-dir=. find $DIR -name '*' | xargs -I {} cp -v {} .
tcsh: foreach
foreach dir ( `/bin/ls | sed -e 's|/||g'` ) foreach year ( `seq 2000 1 2005` ) foreach month ( `seq -w 1 1 12` )