• 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: Get size of folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get size of folder


  • Subject: Re: Get size of folder
  • From: Charles Srstka <email@hidden>
  • Date: Wed, 19 Aug 2009 03:03:11 -0500

On Aug 19, 2009, at 2:59 AM, Jean-Daniel Dupas wrote:

I think you have to add data and resource sizes to match the Finder behavior (which are two distinct field in the catalog info).

Ah, you're right. This probably makes Carbon's file manager the most convenient way to do it (I believe it's also the best performing). However, if you use another method, you can still get the resource fork size by appending /..namedfork/rsrc to the end of the path for each regular file.


Charles
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Get size of folder
      • From: Alastair Houghton <email@hidden>
References: 
 >Get size of folder (From: PCWiz <email@hidden>)
 >Re: Get size of folder (From: Charles Srstka <email@hidden>)
 >Re: Get size of folder (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Get size of folder
  • Next by Date: Re: int to bytes(value in NSString)
  • Previous by thread: Re: Get size of folder
  • Next by thread: Re: Get size of folder
  • Index(es):
    • Date
    • Thread