Folder Size Analysis

dusthillresident 2026-06-23

I removed this from my github, please delete this page

dusthillresident Thu 25 Apr 01:38:14 BST 2024

FolderSizeAnalysis screen 1

FolderSizeAnalysis screen 2

I've written a graphical utility in Tcl/Tk that runs on Linux, Windows, and MacOS. It's basically a file browser that visualises size of the files/folders and their contents.

I wrote this because my hard drive is getting full and I wanted to know what was taking the most space, to help guide my tidying. Maybe it could be useful to someone, so I'm posting it here.

The code is quite long, so I'm not sure if I should paste it here onto the wiki, so instead, here is a link to the code on my github. Let me know if this is wrong and if I should actually post it here instead.

https://github.com/dusthillresident/FolderSizeAnalysis


dusthillresident Wed 24 Sep 21:37:21 BST 2025

I've done more work on this lately. I've fixed bugs and added a useful new feature: if you use the scroll wheel in the "Pie chart" view mode, it allows you to recursively display up to 3 extra levels of directories. Here's a demonstration screenshot:

Folder size analysis recursive pie chart

The updated version is available at the github link. I want to ask for help now: I'd really appreciate if someone with Tcl 9 could test this application on their system, and let me know if it works properly. I'm still on Tcl 8.6 at the moment. Let me know if there are any issues and I'll try to fix them.

nico 2025-09-25 Hi, I've tested FolderSizeAnalysis on macOS using Tcl9.1a1/Tk9.1a1 and it works very well

++

dusthillresident Thu 25 Sep 19:47:11 BST 2025

Hi, Thank you nico, I appreciate it.


See also:


RPN - 2025-10-12 04:13:21

I appreciate your work, but what is the reason to use proc names with blanks in it?


Jeremy I am sure you can do better in terms of colour: Yellow and orange, Red and yellow, Blue and yellow or better, leave the choice of colours at Preferences. Is your e-mail address shown anywhere?


dusthillresident Sun 12 Oct 22:24:10 BST 2025

Hi RPN, Regarding spaces in procedure names, I've done that so that the contents of the 'viewMode' global variable can be treated directly as the name of the procedure used to redraw the view. I thought that was a convenient way to implement it. The viewMode variable is set by two 'radiobuttons' in the 'view' menu.

Hi Jeremy,

My email address is dusthillresident at gmail dot com. It's listed in the code - in the first lines of the code as a comment, and also it is shown to you if you go choose "About..." in the hamburger menu in the application.

I'll experiment with different colours. I think your thinking of reddish/yellowish warm colours is a good suggestion. Customisation of colours and storing of settings would be nice to add, I'll see if I can work on that.


Jeremy Yellow and blue are the colours of the Swedish flag, yellow and red, the Spanish flag. I can't wait to see the new colours. Congrats for a job well done!

PS: Here is an excellent Preferences widget: https://wiki.tcl-lang.org/page/Preferences+Widget