• 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: Looking for empty folders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking for empty folders


  • Subject: Re: Looking for empty folders
  • From: "Mark J. Reed" <email@hidden>
  • Date: Fri, 6 Mar 2009 11:20:10 -0500

On Fri, Mar 6, 2009 at 11:07 AM, email@hidden <email@hidden> wrote:
> this works:
>        tell application "Finder" to set emptyFolders to folders of myfolder
> whose (size) is 0

Ah, thank you.  That would not have occurred to me, as I don't think
of empty folders of having a size of zero.  (I automatically consider
the "size" to be the number of bytes taken up by the directory file -
which seems to start at 68 bytes for an empty folder under 10.5.6.)

Are the parentheses around "size" necessary for some reason, or did
you just leave them in after simplifying a longer expression?  It
looks kind of strange that way. :)

--
Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Looking for empty folders
      • From: Philip Aker <email@hidden>
    • Re: Looking for empty folders
      • From: KOENIG Yvan <email@hidden>
References: 
 >Looking for empty folders (From: Ronald Hofmann <email@hidden>)
 >Re: Looking for empty folders (From: "Mark J. Reed" <email@hidden>)
 >Re: Looking for empty folders (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Looking for empty folders
  • Next by Date: Re: Looking for empty folders
  • Previous by thread: Re: Looking for empty folders
  • Next by thread: Re: Looking for empty folders
  • Index(es):
    • Date
    • Thread