in reply to how to get total numbers of files in a directory?
perl -le 'print scalar @{[</home/a/*.txt>]}'
Welcome to the forum!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: how to get total numbers of files in a directory?
by flounder99 (Friar) on Dec 09, 2003 at 15:53 UTC |