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 Sun 20 Apr 2014, 05:25
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 1 of 3 [34 Posts]   Goto page: 1, 2, 3 Next
Author Message
Pelo


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

PostPosted: Tue 13 Aug 2013, 12:49    Post subject:  Rox-filer : show directory size, please
Subject description: That will avoid us to open each one
 

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.
darken.jpg
 Description   
 Filesize   59.11 KB
 Viewed   249 Time(s)

darken.jpg


Last edited by Pelo on Sun 01 Sep 2013, 17:36; edited 3 times in total
Back to top
View user's profile Send private message Yahoo Messenger 
Flash
Official Dog Handler


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

PostPosted: Tue 13 Aug 2013, 16:18    Post subject:  

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. Sad
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Tue 13 Aug 2013, 21:04    Post subject:  

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

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: 2285
Location: Mer méditerrannée (1 kms°)

PostPosted: Wed 14 Aug 2013, 05:22    Post subject: I want to avoid opening the directory
Subject description: I will open only big directories
 

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


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

PostPosted: Wed 14 Aug 2013, 05:33    Post subject: Musher, I am at a higher level of knowledge  

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.
Back to top
View user's profile Send private message Yahoo Messenger 
Karl Godt


Joined: 20 Jun 2010
Posts: 3860
Location: Kiel,Germany

PostPosted: Wed 14 Aug 2013, 10:19    Post subject:  

Counting the size of directories could be done with the (external) du command .
Rox uses external commands like mount or umount .

Code:
# 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:
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 Razz
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2476
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Wed 14 Aug 2013, 10:41    Post subject: Rox-filer : show directory size, please  

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 Question
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2476
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Wed 14 Aug 2013, 10:45    Post subject: gdmap  

Karl Godt wrote:
Puppy Linux should have
Code:
gdmap

as Disk_Usage_Analyzer


Recent official Puppies have gdmap.
Even RasPi has Wink
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


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

PostPosted: Wed 14 Aug 2013, 11:21    Post subject: Re: Rox-filer : show directory size, please  

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. Confused
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Wed 14 Aug 2013, 12:23    Post subject: Re: I want to avoid opening the directory
Subject description: I will open only big directories
 

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



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



Surely there are pets for those two.

Regards.

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 
amigo

Joined: 02 Apr 2007
Posts: 2169

PostPosted: Wed 14 Aug 2013, 13:41    Post subject:  

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.
Back to top
View user's profile Send private message 
greengeek

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

PostPosted: Wed 14 Aug 2013, 16:14    Post subject:  

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)
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Wed 14 Aug 2013, 18:31    Post subject:  


_________________
"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 
greengeek

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

PostPosted: Wed 14 Aug 2013, 18:47    Post subject:  

That looks nice. Previous versions of emelfm were a bit spartan looking.
Back to top
View user's profile Send private message 
musher0


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

PostPosted: Wed 14 Aug 2013, 18:50    Post subject:  

@pelo
Try this! Smile
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:
Quote:
"If there is a genuine need [for an English translation], it will [easily] be met."
Wink Cool Laughing

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
Dirax-top.jpg
 Description   
 Filesize   43.68 KB
 Viewed   306 Time(s)

Dirax-top.jpg

Dirax.jpg
 Description   Dirax, bottom
 Filesize   69.94 KB
 Viewed   312 Time(s)

Dirax.jpg

du+15.jpg
 Description   du+15l example
 Filesize   34.27 KB
 Viewed   311 Time(s)

du+15.jpg

FolderSize.jpg
 Description   totaldir script showing folder size
 Filesize   17.08 KB
 Viewed   325 Time(s)

FolderSize.jpg

Dirax-0.2.pet
Description 
pet

 Download 
Filename  Dirax-0.2.pet 
Filesize  1.89 KB 
Downloaded  191 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 
Display posts from previous:   Sort by:   
Page 1 of 3 [34 Posts]   Goto page: 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.0956s ][ Queries: 12 (0.0142s) ][ GZIP on ]