help-bash
[Top][All Lists]
Advanced

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

Re: Sorting directories by size


From: Leonid Isaev (ifax)
Subject: Re: Sorting directories by size
Date: Tue, 24 Aug 2021 13:55:06 +0000
User-agent: Mutt/1.13.4 (2020-02-15)

On Tue, Aug 24, 2021 at 01:35:52PM +0000, hancooper wrote:
> I would like to have the capability to print the directories with their size,
> in the form of a table (size dir).

You should use find's -printf option (see "man find" for details). Oh, and get 
rid
of "-exec du".

HTH,

-- 
Leonid Isaev



reply via email to

[Prev in Thread] Current Thread [Next in Thread]