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

Filemanagers, partitioning tools, etc.
Message
Author
Pelo

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

#1 Post 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.
Attachments
darken.jpg
(59.11 KiB) Downloaded 1165 times
Last edited by Pelo on Sun 01 Sep 2013, 21:36, edited 3 times in total.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#2 Post 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. :(

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#3 Post 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
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Pelo

I want to avoid opening the directory

#4 Post 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.
Attachments
chrome.jpg
2015 : treesize does how i wanted to
(37.41 KiB) Downloaded 493 times
Last edited by Pelo on Fri 30 Oct 2015, 13:44, edited 1 time in total.

Pelo

Musher, I am at a higher level of knowledge

#5 Post 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.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#6 Post 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
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Rox-filer : show directory size, please

#7 Post 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 :?:

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

gdmap

#8 Post 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:

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

Re: Rox-filer : show directory size, please

#9 Post 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. :?

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Re: I want to avoid opening the directory

#10 Post 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
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#11 Post 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.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#12 Post 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)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#13 Post by musher0 »

emelfm2 has something:

Image
Last edited by musher0 on Tue 01 Dec 2015, 18:11, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#14 Post by greengeek »

That looks nice. Previous versions of emelfm were a bit spartan looking.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#15 Post 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
Attachments
Dirax-top.jpg
(43.68 KiB) Downloaded 1226 times
Dirax.jpg
Dirax, bottom
(69.94 KiB) Downloaded 1329 times
du+15.jpg
du+15l example
(34.27 KiB) Downloaded 1197 times
FolderSize.jpg
totaldir script showing folder size
(17.08 KiB) Downloaded 1270 times
Dirax-0.2.pet
(1.89 KiB) Downloaded 680 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Pelo

ah, my question was not so bad...

#16 Post 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 !

Pelo

display 'sort by size'

#17 Post 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.
Last edited by Pelo on Sun 08 Sep 2013, 07:35, edited 1 time in total.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

Re: display 'sort by size'

#18 Post 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".

Pelo

Any tree program gives the total size

#19 Post 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 !

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Re: Any tree program gives the total size

#20 Post 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
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply