Find directories containing two or more specified files



I would like to find directories that contain both "index.php" and
"index.html", or in general, directories that contain more than one
file matching "index.*"

Is this possible from a one liner, or do I need to write a script ?

TIA,
Richard

.



Relevant Pages

  • Sideways Media Movies on T5
    ... However I've just spotted 2 of mine which do play sideways - utilising ... Richard ... Prev by Date: ...
    (comp.sys.palmtops)
  • Re: Find directories containing two or more specified files
    ... Sashi wrote: ... > Richard wrote: ... >> Is this possible from a one liner, or do I need to write a script? ... >> TIA, ...
    (comp.unix.shell)
  • VBS to replace text
    ... I am trying to find a script that will search an html file and replace one ... TIA ... Prev by Date: ...
    (microsoft.public.scripting.vbscript)
  • Firewie
    ... Can anyone recommend a firewirecard for a lombard to enable ipod stuff? ... Richard ... Prev by Date: ...
    (uk.comp.sys.mac)
  • Cable
    ... What cable do I need to connect Lombard to an Apple Studio Display 17? ... Richard ... Prev by Date: ...
    (uk.comp.sys.mac)