Skip navigation.
 
mlRe: Obtaining the size of a directory
FROM : Dominik Freyer
DATE : Mon Oct 18 17:21:50 2004

Yes, you're absolutely right about the parameters.
I was overwhelmed when I saw, how fast the du command was able to
determine the correct size, even with a big tree behind a folder. Using
the Finder it takes much larger amounts of time, sometimes it seems to
even forget to recurse the directory and doesn't display anything.


Am 18.10.2004 um 16:49 schrieb Freek Dijkstra:

> On 18-10-2004 13:49, "Dominik Freyer" <<email_removed>> wrote:
>

>> In the meantime I found a BSD Command 'du -hs' which can give me very
>> fast the correct directory size.

>
> Yes, though you may want to use 'du -ks' rather then -h to get machine
> interpretable output. See man page for details.
>
> By the way: I think du also just traverse the directories recursively,
> but
> apparantly is very fast in doing so.
>
> Regards,
> Freek
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>

Related mailsAuthorDate
mlObtaining the size of a directory Dominik Freyer Oct 18, 10:40
mlRe: Obtaining the size of a directory Daniel Todd Currie Oct 18, 13:04
mlRe: Obtaining the size of a directory Dominik Freyer Oct 18, 13:49
mlRe: Obtaining the size of a directory Daniel Todd Currie Oct 18, 14:05
mlRe: Obtaining the size of a directory Dominik Freyer Oct 18, 14:15
mlRe: Obtaining the size of a directory Dominik Freyer Oct 18, 14:20
mlRe: Obtaining the size of a directory Max Barel Oct 18, 14:22
mlRe: Obtaining the size of a directory Patrick Machielse Oct 18, 15:40
mlRe: Obtaining the size of a directory Freek Dijkstra Oct 18, 16:49
mlRe: Obtaining the size of a directory Dominik Freyer Oct 18, 17:21
mlRe: Obtaining the size of a directory Dominik Freyer Oct 18, 20:58
mlRe: Obtaining the size of a directory Kevin Ballard Oct 19, 07:15
mlRe: Obtaining the size of a directory Dominik Freyer Oct 19, 14:14
mlRe: Obtaining the size of a directory Jacob Chapa Oct 19, 16:38