• 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: files in subfolders (was Re: file type question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: files in subfolders (was Re: file type question)


  • Subject: Re: files in subfolders (was Re: file type question)
  • From: Walter Ian Kaye <email@hidden>
  • Date: Thu, 9 Oct 2003 18:26:49 -0700

At 05:43p -0700 10/09/2003, Richard Fairbanks didst inscribe upon an electronic papyrus:

> get every file of folder "HD1:Misc:" whose file type = "TEXT"
>
>Works every time, even with subfolders in the specified folder.

Hmmmmm. I'm finding that it doesn't return files in subfolders.

That's correct. If you want to recurse, then you recurse. Curses!


I have a folder with 86 text clippings, that also contains three other folders of text clippings.

------
set x to every file of folder "the:path:" whose file type = "clpt"
get the number of items in x
=> 86
------

Is there some additional language that is necessary? Isn't this why Jon Pugh's "walk folders" is so valuable?

I believe you've just answered your own question:)


-boo
wishing grep could call GetFileInfo
_______________________________________________
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.

  • Prev by Date: Re: Dock Apps - User apps running
  • Next by Date: Re: Finding RGB Images in QXP via script
  • Previous by thread: Re: batch convert script
  • Next by thread: Re: files in subfolders (was Re: file type question)
  • Index(es):
    • Date
    • Thread