Re: Obtaining the size of a directory
Re: Obtaining the size of a directory
- Subject: Re: Obtaining the size of a directory
- From: Dominik Freyer <email@hidden>
- Date: Mon, 18 Oct 2004 17:21:50 +0200
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@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden