Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 11:13
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Rox-filer : show directory size, please
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [34 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
Pelo


Joined: 10 Sep 2011
Posts: 3221
Location: Mer méditerrannée (1 kms°)

PostPosted: 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 ! 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 !
Back to top
View user's profile Send private message Yahoo Messenger 
Pelo


Joined: 10 Sep 2011
Posts: 3221
Location: Mer méditerrannée (1 kms°)

PostPosted: 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
View user's profile Send private message Yahoo Messenger 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11120
Location: Arizona USA

PostPosted: 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! Laughing

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
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 3221
Location: Mer méditerrannée (1 kms°)

PostPosted: 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
View user's profile Send private message Yahoo Messenger 
musher0


Joined: 04 Jan 2009
Posts: 4255
Location: Gatineau (Qc), Canada

PostPosted: 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

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Pelo


Joined: 10 Sep 2011
Posts: 3221
Location: Mer méditerrannée (1 kms°)

PostPosted: 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
View user's profile Send private message Yahoo Messenger 
amigo

Joined: 02 Apr 2007
Posts: 2260

PostPosted: 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
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2596
Location: New Zealand

PostPosted: 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
View user's profile Send private message 
simargl

Joined: 11 Feb 2013
Posts: 572

PostPosted: 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
View user's profile Send private message Visit poster's website 
SFR


Joined: 26 Oct 2011
Posts: 1078

PostPosted: 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!
Screenshot.png
 Description   
 Filesize   48.29 KB
 Viewed   324 Time(s)

Screenshot.png


_________________
[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
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4255
Location: Gatineau (Qc), Canada

PostPosted: 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 ###
totaldir-reworked(2).jpg
 Description   
 Filesize   17.75 KB
 Viewed   287 Time(s)

totaldir-reworked(2).jpg

totaldir-reworked.jpg
 Description   
 Filesize   35.01 KB
 Viewed   295 Time(s)

totaldir-reworked.jpg

totaldir-reworked(4).jpg
 Description   
 Filesize   11.56 KB
 Viewed   281 Time(s)

totaldir-reworked(4).jpg

totaldir.sh.zip
Description 
zip

 Download 
Filename  totaldir.sh.zip 
Filesize  1.05 KB 
Downloaded  189 Time(s) 

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Pelo


Joined: 10 Sep 2011
Posts: 3221
Location: Mer méditerrannée (1 kms°)

PostPosted: 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 ...
ytree.jpg
 Description   
 Filesize   69.52 KB
 Viewed   227 Time(s)

ytree.jpg

Back to top
View user's profile Send private message Yahoo Messenger 
musher0


Joined: 04 Jan 2009
Posts: 4255
Location: Gatineau (Qc), Canada

PostPosted: 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) Smile

BFN.

musher0
ytree_1.94-1.1_i386.pet
Description 
pet

 Download 
Filename  ytree_1.94-1.1_i386.pet 
Filesize  81.1 KB 
Downloaded  201 Time(s) 

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Pelo


Joined: 10 Sep 2011
Posts: 3221
Location: Mer méditerrannée (1 kms°)

PostPosted: 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 !
capture20761.png
 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   224 Time(s)

capture20761.png


Last edited by Pelo on Sun 01 Sep 2013, 16:11; edited 1 time in total
Back to top
View user's profile Send private message Yahoo Messenger 
musher0


Joined: 04 Jan 2009
Posts: 4255
Location: Gatineau (Qc), Canada

PostPosted: 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 !") Twisted Evil

BFN

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 3 [34 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0915s ][ Queries: 12 (0.0043s) ][ GZIP on ]