• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Obtaining the size of a directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obtaining the size of a directory


  • Subject: Re: Obtaining the size of a directory
  • From: Freek Dijkstra <email@hidden>
  • Date: Mon, 18 Oct 2004 16:49:46 +0200

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

  • Follow-Ups:
    • Re: Obtaining the size of a directory
      • From: Dominik Freyer <email@hidden>
References: 
 >Re: Obtaining the size of a directory (From: Dominik Freyer <email@hidden>)

  • Prev by Date: RE: How does OSX talk to Cocoa?
  • Next by Date: FW: How does OSX talk to Cocoa?
  • Previous by thread: Re: Obtaining the size of a directory
  • Next by thread: Re: Obtaining the size of a directory
  • Index(es):
    • Date
    • Thread