in reply to Re: quickest way to find number of files in a directory?
in thread quickest way to find number of files in a directory?
Are we talking quick, as in coding/thinking time?
` ls -a1 | wc -l`
Well -2 entries for . and ..
` ls -a1 | wc -l`
Well -2 entries for . and ..
In Section
Seekers of Perl Wisdom