Count the size of selected directories only

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Count the size of selected directories only

Post by *ts4242 »

To calculate the size of individual dirs, I have to press <Space> key on each dir. A new command cm_CountSelectedDirContent would be great.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Wheel---

Post by *Clo »

2ts4242

:) Hello !

• What about cm_CountDirContent (2014) :?:

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

2Clo

:) Hello !

I know cm_CountDirContent, my proposal command's name has taken from it cm_CountSelectedDirContent :wink:

The problem is that, I have folder contains huge subfolders and I want to calculate the size of some subfolders only, cm_CountDirContent waste my time and pressing <Space> key is very boring specially if the selected folders are not continues.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ts4242
You can find a detailed description how this can be achieved using the content plugin DirSizeCalc:
http://lefteous.totalcmd.net/tc/docs/dirsizecalc/readme.htm#use_cases_load_fields_on_demand
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

2Lefteous

Very nice, Thank you :D

Anyway, implementing cm_CountSelectedDirContent is very simple, so I hope to find it in TC.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

I guess the better way would be to make tc.Size work as on demand field for folders so it supports cm_LoadSelOnDemandFields.
It's strange to have one command for custom columns and one for the long view.
Post Reply