You are not logged in.

#1 2009-12-27 10:29:46

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

[vifm] display correct folder size [solved]

Hello guys,

how can I display the correct folder size? All my folders were marked with a file size of 4,0 KB which can't be right.

Any suggestions?

Last edited by orschiro (2009-12-27 10:50:14)

Offline

#2 2009-12-27 10:44:12

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: [vifm] display correct folder size [solved]

The 4.0k is the total size of the disk blocks used by the directory. ls -l gives the same output. To actually give the size of the folders recursive contents involves walking down the directory tree and accumulating it. GUI file managers normally do this but depending on the size of your directory tree it can take a while. As far as I know vifm doesn't support this.

You can use du for this sort of thing.

Offline

#3 2009-12-27 10:50:04

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [vifm] display correct folder size [solved]

Hello mikesd,

thanks for your detailed information. I thougt it was a wrong configuration on my machine but as it is not supported by vifm in general I'll mark this as solved.

Last edited by orschiro (2009-12-27 10:50:30)

Offline

Board footer

Powered by FluxBB