DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Looking for reports of folder size  (Read 5,967 times)

mediaguycouk

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 247
Looking for reports of folder size
« on: November 19, 2007, 11:42 AM »
Hi all,
I'm a bit of a lingerer here but now I need your help.

I have a server that has a around 40 folders in it. I would like to have a program that would export the file size of the these folders without (or with the option) of not reporting the size of subfolders.

So if I have 10 folders called folder1 through to folder10 I could get a list that says

folder1: 132MB
folder2: 186MB
folder3: 852MB
folder4: 1,875MB
etc.

So does someone know of such a thing? The last program I saw like that was Norton Systemworks. But even if I had it I wouldn't want to install a program like that on a Windows server.

Many Thanks

Graham Robinson
Incident Response Team,
University of Southampton
Learning C# - Graham Robinson

nontroppo

  • spinning top
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 649
Re: Looking for reports of folder size
« Reply #1 on: November 19, 2007, 12:21 PM »
I used to use Scanner, but that is visual not textual:

http://www.steffengerlach.de/freeware/

If you have access to cygwin, maybe you can use the DU command, I use something like this in Bash (on OS X):

Code
alias measurebig='for f in /folder1 / folder2 /folder#; do sudo du -hsx "$f"; done'

Which gives me:

Code
@macbook:~$ measurebig
4.0K	/folder1
446M	/folder2
2.6M	/folder3
3.5G	/foldern

Google gave me this for PCs:

http://www.cygwin.com/ml/cygwin/2006-07/msg00070.html

« Last Edit: November 20, 2007, 11:12 AM by nontroppo »

mediaguycouk

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 247
Re: Looking for reports of folder size
« Reply #2 on: November 19, 2007, 12:56 PM »
I used to use Scanner, but that is visual not textual:

Visual is fine for the moment and that is a great little piece of software. I like the fact you can pass the folder straight to the exe file so it doesn't have to scan the whole system.

Perfect, cheers
Learning C# - Graham Robinson

sri

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 689

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Looking for reports of folder size
« Reply #4 on: November 20, 2007, 12:33 AM »
another candidate: Folder Size 2.4

What does it do?

Folder Size for Windows adds a new column to the Details view in Windows Explorer. The new column shows not only the size of files, but also the size of folders. It keeps track of which folders you view, and scans them in the background so you can see complete size of all files within the folder. It's very useful for cleaning up your disk. Once you get used to having that information available, a directory listing simply looks incomplete without it!

[attach=#]
• http://foldersize.sourceforge.net/

Original address: https://www.donationcoder.com/forum/index.php?topic=10890.0