• 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: Size of a Folders contents OS9
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Size of a Folders contents OS9


  • Subject: Re: Size of a Folders contents OS9
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 20 Jun 2002 08:42:13 -0700

On 6/20/02 8:33 AM, "Xandra Lee" <email@hidden> wrote:

> Thought this one would be a piece-of-cake, But can't think of a one liner
> which would return the size of a folder (ie the total size of ALL it's
> contents) especially assuming I should avoid using "entire contents".
>
> I'm game to use 3rd party additions. Just want to keep it real simple.
>
> Should it matter, I'm using OS9.2 -- Applescript 1.6.

Just

size of (info for alias filePath)

That gets you bytes. You do the usual calculations for KB or MB with your
favorite rounding snippet.

--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Size of a Folders contents OS9 (From: Xandra Lee <email@hidden>)

  • Prev by Date: Size of a Folders contents OS9
  • Next by Date: RE: Finding the zone in X
  • Previous by thread: Size of a Folders contents OS9
  • Next by thread: Whole Word Find/Replace
  • Index(es):
    • Date
    • Thread