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
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
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
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
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
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
6 matches
Mail list logo