On Wed, 30 Jan 2019 at 20:15, Prasanna V. Loganathar <
<email address hidden>> wrote:
> ** Description changed:
>
> Currently `tree -dh`/`tree -h` simply shows the size of the directory
> nodes that tend to be 4K in a default ext4 installation with 4K block
> sizes. While this is not very useful in terms of UX, it does however
> have it's use by not spending a whole lot of IO on calculating recursive
> sizes. However, in addition to the current mode, it would be great to
> have an option, that recursively adds up the size of the its contents
> and displays the total size of the directory (inclusive of all hidden
> and dot files), instead of just the directory node size.
>
> UPDATE: There's the "--du" option, that the upstream author was gracious
> enough to point out to me. This is great and solves the problem in
> theory.
>
OK, I opened up two terminal windows and was in my home directory in both
of them.
In one window I typed in
tree --du
And this gave a lot of output and a final figure.
In the other window I typed in
du -s
And this output the final figure with a dot at the end of the line.
Hi,
On Wed, 30 Jan 2019 at 20:15, Prasanna V. Loganathar <
<email address hidden>> wrote:
> ** Description changed:
>
> Currently `tree -dh`/`tree -h` simply shows the size of the directory
> nodes that tend to be 4K in a default ext4 installation with 4K block
> sizes. While this is not very useful in terms of UX, it does however
> have it's use by not spending a whole lot of IO on calculating recursive
> sizes. However, in addition to the current mode, it would be great to
> have an option, that recursively adds up the size of the its contents
> and displays the total size of the directory (inclusive of all hidden
> and dot files), instead of just the directory node size.
>
> UPDATE: There's the "--du" option, that the upstream author was gracious
> enough to point out to me. This is great and solves the problem in
> theory.
>
OK, I opened up two terminal windows and was in my home directory in both
of them.
In one window I typed in
tree --du
And this gave a lot of output and a final figure.
In the other window I typed in
du -s
And this output the final figure with a dot at the end of the line.
Is this of use to you?
BW,
Ian
-- www.accu. org /sites. google. com/site/ ianbruntlett/ /sites. google. com/site/ ianbruntlett/ home/free- software
-- ACCU - Professionalism in programming - http://
-- My writing - https:/
-- Free Software page -
https:/