Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Basically, I'm looking for something like Windirstat that works well on the command line and is easy to distribute over a network.

I've tried sysinternals du (can't exclude/include file types), diruse (limited like du), cygwin du (too slow). I've also tried all the graphical tools I can find, and none have a command line interface.

Any hidden gem I'm missing?

share|improve this question

I've found Xinorbis. It seems brilliant.

share|improve this answer
It looks like it creates some nice data\good charts (although pie charts are useless IMO, the others are good) and is worth trying out to see what it actually does with a nice big volume of messy data, and whether performance is decent. Thanks for the pointer.. – Helvick Jan 18 '10 at 12:30

If you're willing/able to take Unix tools to your Windows machine (which I guess you are, since you're using du already), you could try using findutils from cygwin in a bash script:

for filetype in doc xls jpg mov; do
  find /cygdrive/c -name "*.$filetype" -type f -print0 | xargs -0 du -k | \
    (while read; do
      current=$(echo $REPLY | awk '{print $1}'
      combined=$(( $combined + $current ))
    echo "$filetype files use $combined KiB on C:"

NB - this is roughly what I'd do; it's not tested.

Surely, this could be done more efficiently if you would like to do this for every type of file in the system. For single types, it probably wouldn't get much better with dedicated tools since this should be so IO-bound.

share|improve this answer
I'm a bit weary of trying another cygwin based tool for performance reasons – menko Jan 18 '10 at 8:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.