In suicidaleggroll's factoring you're going to want `&>>` not `&>`, or put the `&>` after the `done`. It's a pretty safe bet you're using bash, but if not, `&>` is a bashism, `1>>logfile 2>>&1` is the portable spelling.
EDIT: Oops, sorry, that script makes 300 logfiles, that'll work. Need. Less. Coffee.
Last edited by jthill; 01-25-2012 at 01:25 PM.
Reason: suicide's factoring does 300 logfiles, I missed that.