[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: does find has feature to find several names



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 every time :D:P

That's why I pointed you to find's -regex predicate, I'm using
it regularly but I wont't figure it out for you.

Thanks
  Siggy
-- 
Please don't cc: me when replying on the list.
    bsb-at-psycho-dot-informationsanarchistik-dot-de
or:                    bsb-at-psycho-dot-i21k-dot-de

Attachment: signature.asc
Description: Digital signature


Reply to: