[EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] wrote: > > >> I must try and >> write a program to see just how many directories there are. >> > > Assuming Linux (because you mentioned it) how about : > > cd \ > ls -Rl | grep ^d | wc -l > > > I got 2,889 on a test system I have here at work - and that's not from the > root of the drive. > You'd be better off with....
cd / find ./ -type d -print | wc -l :-) _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
