[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: domanda rapida



* 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



Reply to: