[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Sat, 2008-08-02 at 22:40 +0100, Simon Waters wrote: > Anton Channing wrote: > > > > It maybe that there is not. > > I'd go with something like this, but there may be a command that does it. > > for a in * ;do echo `ls -1R "$a" | wc -l` "$a" ; done | sort -n > Does the tree command help you? I was talking to an Admin guy to day who was exulting the "New" part of Vista task managler re the Tree view for processes! and it made me look at the tree command in linux. It lists the Dirs in tree view below the current and counts the Dirs. ie tree [-adfgilnopqrstuxACDFNS] [-L level [-R]] [-H baseHREF] [-T title] [-o filename] [--nolinks] [-P pattern] [-I pattern] [--inodes] [--device] [--noreport] [--dirsfirst] [--version] [--help] [directory ...] Regards Kevin Lucas Minions Post Master(Sub) reprieved Po House, Minions, Liskeard Cornwall PL14 5LE 01579363386 -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html