Re: Size of a Folders contents OS9
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.