* Davide Alberani [16 Sep 2002, 13:33 +0200]:
> > find /path/to/directory/* | wc -l
> Cosi` rischi di contare anche eventuali sottodirectory.

anche cosi` lo fai

> find /path/to/directory/ -type f | wc -l

bisogna aggiungere -maxdepth 1

Ciao, Roberto


Rispondere a