Steffen Grunewald wrote: > > Did you try to replace all occurrences of $file by "$file" ? argh - that was an easy fix, cheers. > > BTW, the #! line has to be the first one in the script... Sorry I only put that in the email. > > -- thanks again Ben