perl -le 'print scalar @{[</home/a/*.txt>]}'
Welcome to the forum!
In reply to Re: how to get total numbers of files in a directory?
by delirium
in thread how to get total numbers of files in a directory?
by hweefarn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |