Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #197611

Re: YES! - was [Re: A command similar to "tree -sd" ?]

From Richard Owlett <rowlett@cloud85.net>
Newsgroups linux.debian.user
Subject Re: YES! - was [Re: A command similar to "tree -sd" ?]
Date 2018-07-13 22:40 +0200
Message-ID <wbd17-Eh-1@gated-at.bofh.it> (permalink)
References <wb47x-3RE-39@gated-at.bofh.it> <wb53z-4p3-1@gated-at.bofh.it> <wb5wC-4xK-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 ;/

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

A command similar to "tree -sd" ? Richard Owlett <rowlett@cloud85.net> - 2018-07-13 13:10 +0200
  Re: A command similar to "tree -sd" ? davidson <davidson@freevolt.org> - 2018-07-13 13:30 +0200
    Re: A command similar to "tree -sd" ? Richard Owlett <rowlett@cloud85.net> - 2018-07-13 13:50 +0200
  Re: A command similar to "tree -sd" ? Darac Marjal <mailinglist@darac.org.uk> - 2018-07-13 14:10 +0200
    YES! - was [Re: A command similar to "tree -sd" ?] Richard Owlett <rowlett@cloud85.net> - 2018-07-13 14:40 +0200
      Re: YES! - was [Re: A command similar to "tree -sd" ?] Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-07-13 16:10 +0200
      Re: YES! - was [Re: A command similar to "tree -sd" ?] Richard Owlett <rowlett@cloud85.net> - 2018-07-13 22:40 +0200

csiph-web