[Users] Size of each sub-dirs ?

Alain Coulais alain.coulais at obspm.fr
Thu Oct 6 15:49:56 CEST 2022


Le Thu, 6 Oct 2022 15:32:20 +0200,
Norwid Behrnd via Users <users at lists.claws-mail.org> a écrit :

> On Thu, 6 Oct 2022 15:07:33 +0200
> Alain Coulais <alain.coulais at obspm.fr> wrote:
> 
> > I was not able to find a way to know the size
> > of sub-directories (to know the cumulative size
> > would help to clean up the biggest sub-dirs ;)  
> 
> @Alain  You mention Linux at your disposition, so check if you have
> `tree` installed.  Then
> 
> ```shell
> tree --du -h
> ```
> 

OK, sorry for the very inaccurate way I used to explain my situation :(

I have several emails accounts (IMAP) not locally saved 
(most of my mails stay on servers)

To have the equivalent of "tree"/"du"/"find*" ...  ... I have to kindly ask
to the admin of the remote mail server where I have no access via ssh
and I cannot ask too frequently !

A.

PS: thanks to remember the "tree" command ! 
("good old time")


* find . -type d -exec du -sh {} \; | sort -rh

> often is sufficient for me.  As you may infer, it is about reporting disk usage
> in a human readable format (kilo, Mega bytes/octets) per file, folder and a
> grand total.  An optional `--L 2` you otherwise might use to limit the display
> to two levels of hierarchy has an impact of the analysis, so typically I don't
> use this parameter.
> 
> Bonne journée,

merci, à vous aussi :)
Grand soleil sur Paris.

> 
> Norwid
> _______________________________________________
> Users mailing list
> Users at lists.claws-mail.org
> https://lists.claws-mail.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list