Author |
Message |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Thu 15 Aug 2013, 04:57 Post subject:
ah, my question was not so bad... Subject description: Rox-Filer and repository size |
|
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 !
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 !
|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Thu 15 Aug 2013, 10:10 Post subject:
display 'sort by size' Subject description: It seems to sort repositories too |
|
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, 03:35; edited 1 time in total
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 13389 Location: Arizona USA
|
Posted: Thu 15 Aug 2013, 10:43 Post subject:
Re: display 'sort by size' Subject description: It seems to sort repositories too |
|
Pelo wrote: | ...Unhappily, i didn't found my happiness. |
I hear that!
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".
|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Fri 16 Aug 2013, 16:46 Post subject:
Any tree program gives the total size Subject description: because we need it. |
|
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 !
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 14528 Location: Gatineau (Qc), Canada
|
Posted: Sat 17 Aug 2013, 22:54 Post subject:
Re: Any tree program gives the total size Subject description: because we need it. |
|
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-file-managers-for-linux.html
BFN.
musher0
_________________ musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Sun 18 Aug 2013, 02:25 Post subject:
EmelFM, XFE dont sum the repositories |
|
EmelFM, XFE dont sum the repositories.
Musher is right, i was deceived by the column size in Emelfm. The number shown is not the sum of contents. Sorry Musher.
|
Back to top
|
|
 |
amigo
Joined: 02 Apr 2007 Posts: 2647
|
Posted: Sun 18 Aug 2013, 04:21 Post subject:
|
|
Yeah, I doubt any file managers are showing dir sizes -it would simply slow every operation down -to a crawl sometimes. I have about 45GB of stuff under /usr. If I let du calculate the disk usage, it takes nearly ten minutes to complete. rox would take even more time because of updating the display. So, if this feature was built-in and I open rox in '/', then it would be at least ten minutes before I could navigate in to any directory there.
You can get a sense of how slow it might be by opening rox in /usr/bin or somewhere where there are thousands of files -or trun thumbnails on and navigate into a dir which contains hundreds of jpg images.
I agree that visualizing file/dir sizes is very useful. I use gdmap for the purpose as it is a pure gtk/gdk application. In fact, I use and old gtk-1.2 version which took me forever to find...
I like very much the pie-chart view which baobab seems to provide, but am unwilling to depend on 123 GNOME packages to have the feature...
|
Back to top
|
|
 |
greengeek

Joined: 20 Jul 2010 Posts: 5624 Location: Republic of Novo Zelande
|
Posted: Sun 18 Aug 2013, 04:53 Post subject:
Re: EmelFM, XFE dont sum the repositories |
|
Pelo wrote: | EmelFM, XFE dont sum the repositories.
Musher is right, i was deceived by the column size in Emelfm. The number shown is not the sum of contents. Sorry Musher. | Any idea what the size number actually does mean in Emelfm?
|
Back to top
|
|
 |
simargl
Joined: 11 Feb 2013 Posts: 572
|
Posted: Sun 18 Aug 2013, 05:02 Post subject:
|
|
.
_________________ The Arch Way
Last edited by simargl on Sun 01 Sep 2013, 11:32; edited 1 time in total
|
Back to top
|
|
 |
SFR

Joined: 26 Oct 2011 Posts: 1749
|
Posted: Sun 18 Aug 2013, 05:07 Post subject:
|
|
There's also Worker (I found it yesterday, it's obviously inspired by Amiga's DirOpus), which can do it on demand.
It's enough to just select all directories (e.g. by pressing 'Invert selection' button) and then press 'Dirsize' button (see screenshot).
But yeah, it takes some time...
@Greengeek:
That's probably the answer:
http://unix.stackexchange.com/questions/55/what-does-size-of-a-directory-mean-in-output-of-ls-l-command
Greetings!
Description |
|
Filesize |
48.29 KB |
Viewed |
594 Time(s) |

|
_________________ [O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 14528 Location: Gatineau (Qc), Canada
|
Posted: Sun 18 Aug 2013, 15:39 Post subject:
|
|
Hello,all.
I've reworked the totaldir.sh script. Enjoy!
Code: |
#!/bin/sh
# ~/my-applications/bin/totaldir.sh
####
# Unpacking -- If you have downloaded the zipped version, please unzip
# in folder /root/my-applications/bin.
#
# Installation -- Make a link from the /path/filename mentioned on line 2 to:
# /root/.config/rox.sourceforge.net/OpenWith/.inode_directory
#
# Usage --
# in GUI -- Just right-click on the directory and click "totaldir.sh"
# in CLI -- Type: totaldir.sh /directory/. # For ex.:
# totaldir.sh ~/my-documents/
# totaldir.sh /etc/ # Please use the slash at the end. OR:
# totaldir.sh . # (If you already are in the queried directory.)
#
# Note 1: "$@" and $PWD should indicate the same. (It's a built-in check.)
#
# Note 2: If you do not have the Proc2 font (which I'd recommend), I can
# suggest the Liberation Mono, DejaVu Mono or Monaco fonts.
#
# Note 3: Does not work on linked directories. The size indicated will be 0 (zero).
# Please use ROX's "target" to get to the folder, and then use totaldir.sh.
#
# (c) musher0, 2013-08-18.
####
cd "$@"
echo -n "`du -sh $@`" > /tmp/totaldir
COL="fg linen -bg "#594311" -rv -bd DarkOliveGreen3 -cr cornsilk +tr -w 15"
urxvt -T "Folder size ~~~~~~~~ Taille du dossier" -b 5 +sb +tr -$COL -fn "xft:Monaco:pixelsize=11:antialias=true:autohint=true" -g 55x2 -e less -~ -P "~~~~ $PWD ~~~~" /tmp/totaldir &
sleep 6s
# If you find that wait too long, you can reduce it to:
# sleep 4s
kill "`pidof -s less`" >/dev/null 2>&1
rm /tmp/totaldir
### 30 ###
|
 |
Description |
|
Filesize |
17.75 KB |
Viewed |
575 Time(s) |

|
Description |
|
Filesize |
35.01 KB |
Viewed |
577 Time(s) |

|
Description |
|
Filesize |
11.56 KB |
Viewed |
547 Time(s) |

|
Description |
|

Download |
Filename |
totaldir.sh.zip |
Filesize |
1.05 KB |
Downloaded |
356 Time(s) |
_________________ musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Sun 01 Sep 2013, 15:38 Post subject:
ytree PPM Puppy 2 Subject description: Cà ne vaut pas un pet |
|
Ytree dans le PPM Puppy 2 est un tar.gz ! En console çà répond not found.
Peux-tu y mettre ta touche ? En faire un pet qui fonctionne ...
Description |
|
Filesize |
69.52 KB |
Viewed |
489 Time(s) |

|
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 14528 Location: Gatineau (Qc), Canada
|
Posted: Sun 01 Sep 2013, 15:56 Post subject:
Re: ytree PPM Puppy 2 Subject description: Cà ne vaut pas un pet |
|
Pelo wrote: | Ytree dans le PPM Puppy 2 est un tar.gz ! En console çà répond not found.
Peux-tu y mettre ta touche ? En faire un pet qui fonctionne ... |
Ask and thou shalt receive (Gospel) / Demandez et vous recevrez (Parole de l'Évangile)
BFN.
musher0
Description |
|

Download |
Filename |
ytree_1.94-1.1_i386.pet |
Filesize |
81.1 KB |
Downloaded |
447 Time(s) |
_________________ musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Sun 01 Sep 2013, 15:56 Post subject:
Dirax m'oriente bien Subject description: Il repond à mon souhait |
|
Dirax fullfilled my wish, showing where are the fat files. It avoids me opening each directory. Musher0, once again, you answer the question !
But i go on exploring the matter.
Ytree and treesize seem efficient tools too. Is my english clear enough ?
Musher dit it ! in a few seconds. What an efficiency !
Description |
I am very pleased that several forgotten tools answer the question... excepted rox-Filer, which is a pity ! Go ahead, let us make treesize available. |
Filesize |
12.59 KB |
Viewed |
523 Time(s) |

|
Last edited by Pelo on Sun 01 Sep 2013, 16:11; edited 1 time in total
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 14528 Location: Gatineau (Qc), Canada
|
Posted: Sun 01 Sep 2013, 16:02 Post subject:
Re: Dirax m'oriente bien Subject description: Il repond à mon souhait |
|
Pelo wrote: | Dirax fullfilled my wish, showing where are the fat files. It avoids me opening each directory. Musher0, once again, you answer the question !
But i go on exploring the matter.
Ytree and treesize seem efficient tools too. Is my english clear enough ? |
Hi, pelo.
Thanks for the compliment.
While you were writing the above, I uploaded ytree v. 1.94, a pet I made from
http://pkgs.org/ubuntu-13.10/ubuntu-universe-i386/ytree_1.94-1.1_i386.deb.html
Because I did not find it in the wary 5.5 PPM.
Enjoy! (Dommage que ça fasse cochon de traduire par "Jouissez !")
BFN
_________________ musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
|
Back to top
|
|
 |
|