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: Emmanuel <email@hidden>
- Date: Fri, 10 Oct 2003 16:39:40 +0200
At 5:43 PM -0700 10/9/03, Richard Fairbanks wrote:
>
> 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.
>
>
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?
You may want to use Satimage osax' "list files" command. It supports a "recursively" and an "invisible" options.
Emmanuel
_______________________________________________
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.