PDA

View Full Version : Getting the size of a directory


dansumption
12-14-2008, 03:37 PM
Is there an easy way of getting the size of a directory and all of its contents, including subdirectories? I've tried using myDirectory.size, but it returns zero.

Really don't want to have to recurse through the whole lot myself totting up file sizes...