Sort on size - include directories

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Pomax
Junior Member
Junior Member
Posts: 6
Joined: 2008-05-05, 10:34 UTC
Contact:

Sort on size - include directories

Post by *Pomax »

Can an option be added to allow directories to be reordered based on their size too?

I frequently find myself issuing the "cm_CountDirContent" command (bound to a button to the left of the refresh button), only to find that there are so many subdirs with varying content size that it is almost impossible to use total commander for determining which dirs are taking up the most space. A simple ordering option would solve this.

I would suggest an extension of the display section's sorting options with a simple choice set:

-- Sorting Directories --

[x] Sort files and folders separately, except when sorting on:
   [_] Name
   [x] Size (may be slow for large folders if checked)
   [_] Date

When sorting separately, always sort folders on:
   [x] What files are sorted on
   [_] Name
   [_] Size (may be slow for large folders if checked)
   [_] Date

------

Perhaps with a little warning when selecting "Size" that whenever one changes folder, the CountDirContent command will be issued and that if this takes too long the user should press 'esc' or something.

Regards,


- Pomax
If it could have happened, but it didn't happen, then it couldn't have happened.
User avatar
theosdikaios
Senior Member
Senior Member
Posts: 228
Joined: 2006-02-04, 13:02 UTC

Post by *theosdikaios »

2Pomax
Did you tried
Configuration - Options - Display - Sorting directories - Like &files (also by time)
ever?
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
Pomax
Junior Member
Junior Member
Posts: 6
Joined: 2008-05-05, 10:34 UTC
Contact:

Post by *Pomax »

Nice sarcasm. Of course I have.

Enabling 'sort like files' as per the current implementation does not sort the directories on size unless you first profile the directory yourself. That's rather cumbersome I think you will agree.

My suggestion is for a more structural approach, where the program simply applies the sorting you picked every time you change directories.

- Pomax
If it could have happened, but it didn't happen, then it couldn't have happened.
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

2Pomax

You may take a look at DirsizeCalc

This content plugin allows you to define a custom column set including permanently displayed directory sizes. If you then sort by size, the sorting is kept while browsing through directories.
Post Reply