On 07/13/2018 07:29 AM, Richard Owlett wrote:
On 07/13/2018 07:08 AM, Darac Marjal wrote:On Fri, Jul 13, 2018 at 06:07:04AM -0500, Richard Owlett wrote:While pursuing a problem I found the tree command useful.Not having used it recently I re-read the man page I got ideas related to a *TOTALLY UNRELATED* question.For the second question it would be useful to have directory output in tree format showing the size on disk of that directory and all sub-directories under it.Try the following: 1. Install duc-nox 2. Build the DUC database with 'sudo duc-nox index -pH /' (-p = progress, -H counts hardlinks only once) 3. Display the tree with 'duc-nox ls -R /path/to/dir'Yes! Thank you. I tried it. I liked it. I'll explore it more this afternoon.
I've begun exploration. It is so close to what I want that "I can taste it" ;/ The primary thing I needed to add to your example was "--dirs-only".My current problem is a perverse combination "length of directory names" and choices program designers faced due to "finite screen width".
I get some silly/inane results/errors when attempting to specify a maximum directory depth. How do I specify a depth of 2 or 3? "There is no joy in Mudville, I've struck out searching for examples." {apologies to Ernest Lawrence ;}
Guidance please ;/