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 21 Dec 2014, 16:22
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 Posts_count   Goto page: 1, 2, 3 Next
Author Message
Pelo


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

PostPosted: Tue 13 Aug 2013, 12:49    Post_subject:  Rox-filer : show directory size, please
Sub_title: 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   574 Time(s)

darken.jpg


Edited_times_total
Back to top
View user's profile Send_private_message YIM 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11181
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: 4465
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_website 
Pelo


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

PostPosted: Wed 14 Aug 2013, 05:22    Post_subject: I want to avoid opening the directory
Sub_title: 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 YIM 
Pelo


Joined: 10 Sep 2011
Posts: 3452
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 YIM 
Karl Godt


Joined: 20 Jun 2010
Posts: 3982
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_website 
L18L

Joined: 19 Jun 2010
Posts: 2620
Location: www.eussenheim.de/

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: 2620
Location: www.eussenheim.de/

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: 11181
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: 4465
Location: Gatineau (Qc), Canada

PostPosted: Wed 14 Aug 2013, 12:23    Post_subject: Re: I want to avoid opening the directory
Sub_title: 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_website 
amigo

Joined: 02 Apr 2007
Posts: 2294

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: 2751
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: 4465
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_website 
greengeek

Joined: 20 Jul 2010
Posts: 2751
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: 4465
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   626 Time(s)

Dirax-top.jpg

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

Dirax.jpg

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

du+15.jpg

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

FolderSize.jpg

Dirax-0.2.pet
Description 
pet

 Download 
Filename  Dirax-0.2.pet 
Filesize  1.89 KB 
Downloaded  292 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_website 
Display_posts:   Sort by:   
Page 1 of 3 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0899s ][ Queries: 13 (0.0053s) ][ GZIP on ]