View Single Post
Old 12-05-2004, 05:18 AM   #7 (permalink)
section31
Registered User
 
Join Date: Sep 2004
Posts: 35
section31 is on a distinguished road
Quote:
Originally Posted by greffov
find . -(i)regex ".+\.(html|php.{0,1})" | xargs

I haven't tried the pattern, you might have to use -E to enable extended regular expression syntax.


b.t.w.: for those that feel very lost when reading this, don't worry -- it's just something you'll never be able to do with any GUI.
Thanks for all the help... I had a few problems at first, but I found that I needed to escape all metacharacters except these [].*

this worked fine -> -iregex '.*\.\(html\|php\)'
section31 is offline   Reply With Quote