Page 1 of 2

Rox-filer : show directory size, please (Solved)

Posted: Tue 13 Aug 2013, 16:49
by Pelo
Count : Count the sizes of all the selected items. Directories also have their contents counted. Symlinks count themselves, not the things they point to.

show directory size, please

Alternatives tools suggested by Musher0 ! Ytree, Treesize, Dirax
SFR records another one : rootworker.

Flash (post here below) tell us to select a group of directories, and right-clicking inside the area to choose 'count', gives the size of each directory included. It works too.

Rox-Filer can do it, sure ! They plan doing it. No ? It would be the easier way of answering the question.

Posted: Tue 13 Aug 2013, 20:18
by Flash
I know this isn't exactly what you want, but if you select everything in that window (ctrl-A) then right-click in the window and select Count, the size of everything is shown at once. It's not presented very pretty though. :(

Posted: Wed 14 Aug 2013, 01:04
by musher0
Hi, pelo.

In addition to Flash's suggestion, you can also

1) highlight the folder and right-click "Properties": info on the folder size will be shown, among other things.

2) ask that the size of the files be shown in ROX in its default options: in a ROX window, right-click "Options", then -> "Affichage" --> "Détails" --> "Tailles".

There you go! It's at least a partial solution, so put a smile on your face instead of complaining! :lol:

BFN

musher0

I want to avoid opening the directory

Posted: Wed 14 Aug 2013, 09:22
by Pelo
I will open only big directories, not those with zero bit.
Was my question not clear enough ?

Yesterday, i got a replacement solution : Baobab ! Nice. Baobab is it the only file manager to show the repository size.

My request is still valid for Rox-filer ! It's not a complaint, it's a permanent progress process.

Musher, I am at a higher level of knowledge

Posted: Wed 14 Aug 2013, 09:33
by Pelo
Higher level, not the highest !
What would you think about shops not marking price ? When i am searching for the big files, i want to know in which directories i have a chance to find my hapiness, before using Gdmap.
Dont by-pass my request about rox-filer, I want sizes to be shown for directories. It's perfectly feasable (faisable) !
I am not complaining, I am suggesting, difference is quite big !
Friendly, Pelo.

PS : I know the reason why the size is not shown, repository is just a tag, not a volume. But it is not a reason why not to calculate without having to search properties.

Posted: Wed 14 Aug 2013, 14:19
by Karl Godt
Counting the size of directories could be done with the (external) du command .
Rox uses external commands like mount or umount .

Code: Select all

# time du -s -BM /usr
1004M	/usr

real	0m0.285s
user	0m0.023s
sys	0m0.220s
# 
needs 0.3 seconds for 1GB in /usr .

I have 7-10GB in /usr in full installation , which would slow rox window down
to show up for at least 2-3 seconds .

Reading
http://en.wikipedia.org/wiki/Disk_Usage_Analyzer
It needs Gnome to run .
Puppy Linux should have

Code: Select all

gdmap 
as Disk_Usage_Analyzer

Rox-filer : show directory size, please

Posted: Wed 14 Aug 2013, 14:41
by L18L
Rox-filer : show directory size, please

+1

The sizes are not shown, but they are calculated I think.

Take any directory containing subdirectories
Click on headline of column Size
..and see how there is immediately another sequence of shown directories.

Good suggestion, pelo :
Who wants to hack ROX-Filer :?:

gdmap

Posted: Wed 14 Aug 2013, 14:45
by L18L
Karl Godt wrote:Puppy Linux should have

Code: Select all

gdmap 
as Disk_Usage_Analyzer
Recent official Puppies have gdmap.
Even RasPi has :wink:

Re: Rox-filer : show directory size, please

Posted: Wed 14 Aug 2013, 15:21
by Flash
L18L wrote:Rox-filer
The sizes are not shown, but they are calculated I think.

Take any directory containing subdirectories
Click on headline of column Size
..and see how there is immediately another sequence of shown directories....
That's a very good question. Where does ROX get the size information? Does it calculate it on the fly, or does it get the info somewhere else, like the filesystem metadata? The mystery deepens. :?

Re: I want to avoid opening the directory

Posted: Wed 14 Aug 2013, 16:23
by musher0
Pelo wrote:(...)

Yesterday, i got a replacement solution : Baobab ! Nice. Baobab is it the only file manager to show the repository size.

My request is still valid for Rox-filer ! It's not a complaint, it's a permanent progress process.
Hello again, pelo.

The only one, really? Have you tried ytree? At http://www.han.de/~werner/ytree.html

Image

Or treesize? At http://treesize.sourceforge.net/

Image

Surely there are pets for those two.

Regards.

musher0

Posted: Wed 14 Aug 2013, 17:41
by amigo
rox doesn't calculate the size of dir contents because it would take a long time for large dirs -it would slow things down *a lot*.

What you probably need is another tool which specializes in visualizing the space used by items- 'gdmap' is a nice one for GTK.

Posted: Wed 14 Aug 2013, 20:14
by greengeek
Sure would be nice tho' for ROX to have an extra button alongside the "eye" icon, and when you click it you get to see it calculate the directory sizes and display them alongside the directory icons - not as a default setting - but as a function you could access as required via a single click.

(maybe even an icon like the greek letter "E" - sigma - like in a spreadsheet "count" function - to actuate Flashes suggestion via single click)

Posted: Wed 14 Aug 2013, 22:31
by musher0
emelfm2 has something:

Image

Posted: Wed 14 Aug 2013, 22:47
by greengeek
That looks nice. Previous versions of emelfm were a bit spartan looking.

Posted: Wed 14 Aug 2013, 22:50
by musher0
@pelo
Try this! :)
Here are a few quick-and-dirty, un-fancy and home-made scripts that will
tell you the folder size through a right-click on said folder. Tell me what
you think.

@all
Right now it's only in French. But as Henry Miller once said in Big Sur and the Oranges of Hieronimus Bosch:
"If there is a genuine need [for an English translation], it will [easily] be met."
:wink: 8) :lol:

Descriptions
  • totaldir shows only the size of a folder

    du+15l shows the size of the 15 biggest sub-folders in the folder, and
    du+30l shows the size of the 30 biggest sub-folders in the folder
    (These two are derived from MU's du15.sh script.)

    Dirax shows a full listing of the files and sub-folders within the folder.
    It also presents a summary of the file types, the date and time of click,
    and the total occupancy. This one is still crude, but it does the job.
Dependencies
dir from GNUtils OR the regular ls, du and less-458 (some formatting
may be missing if run with the less provided by default in Puppies)
.
If you don't have dir, make a symbolic link from ls to dir in /bin.

Enjoy. BFN

musher0

ah, my question was not so bad...

Posted: Thu 15 Aug 2013, 08:57
by Pelo
Somewhere I am happy of the interest for the matter.
Alternatives EmelFM, tree, Baobab are fine. They are alternatives only.
Using them for big directories will slow down your computer too. Hum... If you have so big directories, I think that you own a big computer which the processor will do that job easily ! :wink:
2 or 3 seconds is faster than all other methods (right-click or opening a different tool). I just say :'it would be fine Rox-filer does it'. Ask them !

display 'sort by size'

Posted: Thu 15 Aug 2013, 14:10
by Pelo
display 'sort by size' (rigtht-click in the window) sorts apparently repositories by size. I must check further.
It would be one step forward to my wish, not perfect, but better.Without having to use another tool.
Sure size shown beside would be the best.
I had a glance to rox-filer manual (in english, so be aware of my will)... I learned a lot of things. Unhappily, i didn't found my happiness.

Re: display 'sort by size'

Posted: Thu 15 Aug 2013, 14:43
by Flash
Pelo wrote:...Unhappily, i didn't found my happiness.
I hear that! :lol:

Perhaps the metadata contained in the inodes includes the size of a folder or directory. I haven't been able to find out for sure. Here's a web page that looks like it might have a little bit of info. I found it by Googling "filesystem metadata".

Any tree program gives the total size

Posted: Fri 16 Aug 2013, 20:46
by Pelo
Many other filesystems show the sum of the repositories . I just want Rox-filer doing the same, to avoid loading another file system

I Give up !

Re: Any tree program gives the total size

Posted: Sun 18 Aug 2013, 02:54
by musher0
Pelo wrote:Many other filesystems show the sum of the repositories . I just want Rox-filer doing the same, to avoid loading another file system (...)
I'm not so sure that any FM has the feature... Please see http://tuxarena.blogspot.ca/2009/04/10- ... linux.html

BFN.

musher0