Select Finder items by Regular Expression
Select Finder items by Regular Expression
- Subject: Select Finder items by Regular Expression
- From: Daniel Jalkut <email@hidden>
- Date: Wed, 24 Aug 2005 12:57:41 -0400
Have you ever wished you could easily select a bunch of items in the
Finder by regular expression? You're looking at a huge directory
full of files and you want to select all the items whose name end in
".jpg" and contain "Fun"?
I'm happy to announce "Select Regular Expression", a perl/AppleScript
hybrid script that allows just that. Read about it on my blog:
http://www.red-sweater.com/blog/?p=26
Or download it directly from the Red Sweater scripts page:
http://www.red-sweater.com/AppleScript/
For those of you new to regular expressions, I suggest finding a web
reference to learn more. For the example cited above, try this for
starters:
Fun.*\.jpg$
It means "if the name contains the text "Fun" followed by anything
and terminated by ".jpg", then it's a match.
Enjoy!
Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden