Page 1 of 1

Folder Size

Posted: 07 Feb 2024 10:14
by Kryzalin
I have a column for size to show folder sizes, but sometimes browsing folders can be slow because it decides to check folder sizes for Windows, Users, etc.. This even happens when in a folder on a completely separate drive. Is there any way to stop it from doing this so frequently without turning on caching? I only need to know the folder sizes of the folders in the directories I actually view.

Re: Folder Size

Posted: 07 Feb 2024 10:44
by highend
Mh, use your own scripted custom column?

Code: Select all

    // "|\\" = Exclude calculations for UNC (network) paths!
    $avoid = "C:\Users|C:\Windows|$RECYCLE.BIN|\\";
    $esc   = "(" . regexreplace($avoid, "([\\^$.+()\[{])", "\$1") . ").*";
    if (regexmatches(<cc_item>, $esc)) { return "--"; }
    return formatbytes(foldersize(<cc_item>, "<r>"), "KBR");

Re: Folder Size

Posted: 07 Feb 2024 10:53
by admin
Or this tweak:

Code: Select all

v23.70.0341 - 2022-11-18 11:52
    + Show Folder Sizes: Added a tweak to delay the folder size calculation when 
      navigating to a new location. This would delay it by 2 seconds:
        ShowFolderSizeDelayMsecs=2000