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

Re: Simple sh or alias to list directories



Thomas Halahan <tom@halahan.com> writes:
>On Tue, 17 Oct 2000, USM Bish wrote:
>> I am on bash. This is part of the the output of the 
>> command "ls -d */" on my home directory.  Only  the 
>> sub dirs are displayed.
>your solution is more elegant than what i have put together with a
>find call.  however how could you get it to list recursively?

Yet another way to produce a recursive list is to use "du". It works
like "tree", but prints the tree (almost) upside down. du is more
widely available, and as an added bonus, displays disk usage. :)

-- 
-=- Rjs -=- rjs@lloke.dna.fi



Reply to: