Re: Finding Filenames that contain a certain string
Re: Finding Filenames that contain a certain string
- Subject: Re: Finding Filenames that contain a certain string
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 19 Jul 2007 19:03:11 -0400
On 7/12/07, Stockly, Ed <email@hidden> wrote:
No need for a shell script here. Plain vanilla appleScript works just fine,
and may even be faster.
It's that expressiveness thing again. Having to list out all 26
possible prefixes strikes me as clunky, to say the list. Now if all
the OP needs is really ` name of file starts with "l325010" ', then
doing a loop and a check with vanilla AS is reasonable. But if it
really does need to worry about excluding files that start with
l325010 followed by something other than a lowercase letter, the brute
force approach starts to get untenable pretty fast. So I would do it
with the shell, but the Satimage OSAX also has regex capabilities that
are more than equal to the task. I just don't think vanilla
AppleScript is the right tool here.
--
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