DirSizeCalc 2.22 (content plugin)

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Peter
Power Member
Power Member
Posts: 2068
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Lefteous wrote:2solid
Is it possible to define custom units ex. DVD or CD, so the display will be like 2.3CD or 0.7DVD
Sounds like an interesting idea.
Please consider that there are many "traps" in size-calculation:

- 1 File with 3 GB is 4.3 CDs. Or not? You have to "divide" and/or pack the file - maybe you need more or less CDs.

- 10 Files, each 500 MB -> 5 GB is 7.1 CDs. Or not? Maybe you need 10 CDs, and every CD will have empty space of 200 MB ...

- if you calculate 2.3 CDs for project A, 4.8 CDs for project B and 5.7 CDs for C - how many CDs will you need totally? 2.3+4.8+5.7=12,8 or 3+5+6=14?

Maybe special programs like "Size me" can do this rather complex job better.

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
solid
Power Member
Power Member
Posts: 749
Joined: 2004-08-09, 11:20 UTC

Post by *solid »

2Peter

I'm aware of that situation.
But i need it mostly to check whether some folder(s) will fit on a cd/dvd even usb stick or not.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Lefteous
I've edited LNG file and it works if you choose kB / MB / GB (before: KiB/MiB/GiB) fields for your custom view.
The problem is: this is not working for non-built-in prefixes (like: All_Dims).
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2fenix_productions
I works fine here. Could you please post the altered language file entry?
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

Altered entries:

Code: Select all

; Standard unit names
B|kB|MB|GB=B|kB|MB|GB
B|KiB|MiB|GiB=B|kB|MB|GB

; Units
10=B
20=kB
21=MB
22=GB
30=kB
31=MB
32=GB
Custom column uses All_Dims2 field.

Language and INI files:
http://fenixproductions.republika.pl/tmp/DirSizeCalc.zip
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2fenix_productions
You're obviously not using an up to date beta version of DirSizeCalc. Please update and try again.

In the current version there is just only line to change:

Code: Select all

B|KiB|MiB|GiB|kB|MB|GB=B|KiB|MiB|GiB|kB|MB|GB
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Lefteous
Thank you. It is working now.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
chat_patta
New Member
New Member
Posts: 1
Joined: 2008-05-06, 04:18 UTC

Lefteous anything for beginners like me

Post by *chat_patta »

I have seen u as solution provider, but you are ignoring users like me who are new to the forum as well as TC configuration/plugin.
Can you kindly explain for the novice like me how to use this... every application has installation procedure and usage process too.

Right off you expect people to know the in depth knowledge of TC and then all the 'GURUs' start discussing the intrinsic details which really are just on a very high EXPERT cloud.

Guys if this is a forum for expert users only then my appologies, but if it is for a new user too, then could someone explain how to use this contraption, i did install this using my understanding.

I have Win XP Pro SP3 desktop running TC 7.01 32bit.
Configurations->Options->Plugins->Contents plugins .WDX Configure
shows the plugin is listed. Now what...... All i wanted to display the size of the folders when I open a drive/folder.

Thanks if anyone can help me out.
User avatar
Peter
Power Member
Power Member
Posts: 2068
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Re: Lefteous anything for beginners like me

Post by *Peter »

chat_patta wrote:...but you are ignoring users like me who are new to the forum as well as TC configuration/plugin....
Hello chat_patta

who is "you"?

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
dott
Senior Member
Senior Member
Posts: 285
Joined: 2007-03-04, 00:58 UTC
Location: La Plata, Argentina

Post by *dott »

2chat_patta

In the files panel:
Shift+F1→Configure custom colums→[New]→[Add column]→[+]→dirsizecalc→size→Default

Again from the files panel:
Shift+F1→Your new custom column

This is about use WDX plugins, not about Dirsizecalc
Csimbi
Member
Member
Posts: 105
Joined: 2004-06-16, 08:27 UTC

Post by *Csimbi »

Hi,
first, thanks for this plugin.
I gave it a go, and I like it.
I have a problem though.
I have large directory structures with empty sub-dirs that may contain empty sub-trees (meaning that there is a directory structure, however there are no files in it at all).
For example
root
root\dir1\dir2
root\dir1\dir2\file.dat
root\dir1\dir2\dir3
root\dir1\dir2\dir3\file.dat
root\dir1\dir2\dir3\dir4
root\dir1\dir2\dir3\dir4\dir5
root\dir1\dir2\dir3\dir4\dir6

Is there any way to delete all empty directories in one go? More precisely: remove all those directories that do not have a file in it or does not have a directory under them with a file.
Currently, I have to repeat this (using your plugin):
1. search for empty dirs
2. are there any? no: stop, yes: continue
3. feed to listbox
4. delete all
5. go step 1
Above procedure clean up all empty dirs eventually, however it is quite a burden.
I am looking for a more efficient way - either using this plugin, or another.
Thank you.
Best regards: Csimbi
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Csimbi
Please use the rule "Contains Files = No" in step 1 instead. This will find all folders contaning just other folders contaning no files. Step 5 isn't required anymore.
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

DirSizeCalc 2 is now available for download after a long betatesting.

The most important new features in version 2 are:
  • There is now a much better documentation included. It's available in English and German.
  • Graphical configuration tool "DirSizeCalc settings" can be used to change all possible settings in a comfortable way.
  • Custom fields can be added to be able to use different behaviors simultaneously.
  • Calculation in background is now the standard loading behavior. "On demand" can be configured as well.
  • It's possible to configure calculation only for the direct subdirectory.
  • Caching of already calculated directories. To Recalculate the command cm_refresh (Ctrl+R) must be used.
  • Differ between several different kinds of 0 byte size directories.
  • File size display now confirms to ISO standards.
  • New field "Compression Ratio" indicates the ratio between file size and compressed file size.
  • The file size display for files on FTP servers, in file system plugins and in archives is now supported.
  • ...and much more!
A full list of changes is available in English. The file "history.txt" can be found in DirSizeCalc's installation directory.

Plug-in home page: Download, description and documentation
On totalcmd.net
On my web site
User avatar
petermad
Power Member
Power Member
Posts: 16011
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Lefteous

Thank you for the new version :-)

The string:
1001=To apply changes you have to restart Total Commander.
is still missing in the [eng] section of the language file.


If I change the path to the settings file from the "Paths" tab in the "DirSizeCalc Settings" dialog, it has no effect - the dialog can only be used to show the location, not to change it.


Danish translation can be downloaded at:
http://madsenworld.dk/tcmd/wdx_dirsizecalc_2.00_danish.zip
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply