Re: does find has feature to find several names

2009-07-19 Thread Boyd Stephen Smith Jr.
In <60f50c4a0907180345s21ecd941w29b8be4319e53...@mail.gmail.com>, Soren Orel wrote: >thank you, but i don't need regex, I'm just searching, that is there a >shorter way in the find command to search for e.g.: two filenames > >find . -type f -name "*.sh" -o -name "*.html" > >so that I don't have to

Re: does find has feature to find several names

2009-07-18 Thread Tom Furie
On Sat, Jul 18, 2009 at 12:45:43PM +0200, Soren Orel wrote: > thank you, but i don't need regex, I'm just searching, that is there a > shorter way in the find command to search for e.g.: two filenames Yes you do, regex is short for regular expression. It is used for pattern matching, which is exac

Re: does find has feature to find several names

2009-07-18 Thread Siggy Brentrup
On Sat, Jul 18, 2009 at 12:45 +0200, Soren Orel wrote: > thank you, but i don't need regex, I'm just searching, that is there a > shorter way in the find command to search for e.g.: two filenames > > find . -type f -name "*.sh" -o -name "*.html" > > so that I don't have to write "-o -name" at eve

Re: does find has feature to find several names

2009-07-18 Thread Soren Orel
thank you, but i don't need regex, I'm just searching, that is there a shorter way in the find command to search for e.g.: two filenames find . -type f -name "*.sh" -o -name "*.html" so that I don't have to write "-o -name" at every time :D:P On Sat, Jul 18, 2009 at 12:08 PM, Siggy Brentrup wro

Re: does find has feature to find several names

2009-07-18 Thread Siggy Brentrup
On Sat, Jul 18, 2009 at 12:00 +0200, Soren Orel wrote: > so that I don't have to write this: > > find . -type f -name "*.sh" -o -name "*.html" > > is there a > > find . -type f -name "*.sh|*.html" man 1 find look for -regex hth Siggy -- Please don't cc: me when replying on the list. bs

does find has feature to find several names

2009-07-18 Thread Soren Orel
so that I don't have to write this: find . -type f -name "*.sh" -o -name "*.html" is there a find . -type f -name "*.sh|*.html" method? :D:D thank you