• 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: Patrick Machielse <email@hidden>
  • Date: Mon, 18 Oct 2004 15:40:37 +0200

op 18-10-2004 13:49 schreef Dominik Freyer

> Hm, that would be the worst way. In the meantime I found a BSD Command
> 'du -hs' which can give me very fast the correct directory size. Can I
> use it as an NSTask efficiently?

If not, you can probably download the du tarball from the Darwin repository
and compile it into your program.

Not sure if there are legal implications of doing so...

Patrick
---
Hieper Software

e: email@hidden
w: http://www.hieper.nl


_______________________________________________
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: Image Capture: getting an NSImage from a data Ptr
  • Next by Date: No Warning on compilation time with a forgeted @try and @catch
  • Previous by thread: Re: Obtaining the size of a directory
  • Next by thread: Re: Obtaining the size of a directory
  • Index(es):
    • Date
    • Thread