Initial code, works on my machine. Ok, not true. It does not like the BSD du syntax.