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

Re: listing number of directories only



On Thu, Nov 04, 2004 at 08:33:41AM +1100, Cameron Hutchison wrote:
> $ find -maxdepth 1 -type d ! -name '.*' | cat -n

Another variation:

find * -type d -maxdepth 0

Jason



Reply to: