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

Re: tree with dir size



On Thu, May 30, 2024 at 06:51:30PM -0400, eben@gmx.us wrote:
> It looks like "tree --du" should do it, but "tree -d --du -h" says
> 
> ├── [452K]  Documents
> 
> when du says it's 787M.

Well, that sounds like one of the numbers includes subdirectories and
the other only includes files in the immediate directory.

The question is: which one do you want?


Reply to: