Page 1 of 1

Report of folders which occupy the most space on hd?

Posted: 17 Feb 2011 12:57
by highend
Hi,

I stumbled upon the script command folderreport but missed an easy way to let it create a .csv file that only lists folders with their current size (so that it would be possible to sort them in Excel afterwards).

Is there a different, easy way to identify and report the folder structure of a drive which lists the most space occupying folders top-down?

Regards,
Highend

Re: Report of folders which occupy the most space on hd?

Posted: 17 Feb 2011 13:02
by admin
Show folder sizes in the list, then do something like this:

Code: Select all

text report("{fullname} > {size}<crlf>", 1);

Re: Report of folders which occupy the most space on hd?

Posted: 17 Feb 2011 13:16
by highend
Thanks for the suggestion but that isn't the solution I'm looking for :)

Drawbacks: No recursion, only works for folders that got selected before, will also show files (and not only folders).

Maybe the scriptcommand folderreport could be enhanced with an additional option to display sizes for flat folder trees?

Regards,
Highend

Re: Report of folders which occupy the most space on hd?

Posted: 17 Feb 2011 15:22
by admin
I see. I have an idea... wait for next version...

Re: Report of folders which occupy the most space on hd?

Posted: 17 Feb 2011 15:25
by highend
I see. I have an idea... wait for next version...
Great. Ty!

Re: Report of folders which occupy the most space on hd?

Posted: 18 Feb 2011 10:08
by admin
In v9.90.0404 you can do any of these:

Code: Select all

::text folderreport("dirs:{name} ({size} bytes)", "r", "C:\Temp");
::text folderreport("tree:{name} ({size} bytes)", "r", "C:\Temp");