Treesize Portable

0 views
Skip to first unread message

Maricel Fergason

unread,
Aug 5, 2024, 1:48:19 PM8/5/24
to taisucsueta
Iam new to SolarWinds and would appreciate some help pls. We are trying use TreeSize Pro with SAM, so when a volume reaches say 90% it will run treesize report and possibly email this. I tried to follow the step in the following post, but still not having any luck

alot of times when passing variables like this through to webhooks or external programs it doesn't like the "\" in the volume name. One way i've used to get around this is by creating a custom variable like the one at the bottom of this thread by kjc.


Directory size information is inherently hierarchical (e.g., tree-shaped). At its simplest, the size of a folder is calculated by aggregating size information for all the files and subfolders it contains. This information is then reported to the user - often in the form of a tree view (with child nodes that can be collapsed and expanded) or a flat folder detail view that allows users to "drill down" into subfolders.


Now let's explore how FolderSizes can help us to achieve the goal of capturing and exporting all folder size data to a single file. We'll get some data to work with by entering %windir% into the FolderSizes location bar and hitting Enter. Doing so will analyze and capture treesize metrics for the entire Windows directory and all its child folders.


In the main FolderSizes product window, selecting the Scan Data docking window tab reveals a folder tree complete with size and count metrics. You can export this information as HTML by clicking the Export toolbar button. This will result in a static (.html) web page that includes all the data (in expanded form) offered by the Scan Data tree view, making it easy to share with anyone that has a web browser installed.


Next, let's select the Details tab in the main FolderSizes window. Here we see a "flat" detail report with fully customizable columns that offer far more detail than what's available in the Scan Data tree.


However, if you were to export the contents of the Details view, you'd find that the resulting file only includes top-level folder size information. But we want all the subfolder data to be included in our export file, so how do we go about that?


Simple. Select the View tab in the main window ribbon bar and click the Display Depth button, then select the Deep (all levels) menu option. The folder size detail view will immediately update itself to reveal subfolders, with relative path information shown in the Name column.


Now you can export this data exactly as you see it on screen by selecting the Home button in the main window ribbon bar and clicking the Details button in the Export ribbon bar group, as shown in the image below.


When you run the search, you'll find a "flat" list of folders that meet your rule criteria. Importantly, each folder shown in the search results includes size metrics and much more (right-click the column header to customize these results). Click the Export button in the search window toolbar to save these results in your preferred file format.


This article offers a few examples on how to use FolderSizes to create and share directory size statistics. If you haven't yet, download FolderSizes to explore the vast array of disk space analysis features that it offers.


One of my favorite pieces of software on windows is a little app called treesize free by Jam Software. It basically gives you a simple list of how much disk space each directory is taking up. This is really useful when you are trying to work out where all the space on your 500gig disk is gone.


I am always finding myself looking for similar piece of software for linux which can be run simply from the command line, but alas none exists so i decided to create a simple shell script to do a similar job, and here it is :

3a8082e126
Reply all
Reply to author
Forward
0 new messages