Re: files in subfolders (was Re: file type question)
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.