Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Re: Re: how to get total numbers of files in a directory?by /dev/null (Chaplain) |
on Dec 10, 2003 at 01:46 UTC ( [id://313635]=note: print w/replies, xml ) | Need Help?? |
This would miss hidden files. Maybe ls -lad *.txt | grep -v ^d | wc -l would be a better solution. /dev/null
In Section
Seekers of Perl Wisdom
|
|