In <[email protected]>, 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 every time :D:P
Using regex: find . -type f -regex '.*\.(sh|html)' -- Boyd Stephen Smith Jr. ,= ,-_-. =. [email protected] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/
signature.asc
Description: This is a digitally signed message part.

