Folder Size
Folder Size
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
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");
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 64911
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Folder Size
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
FAQ | XY News RSS | XY X
XYplorer Beta Club