It must exists, my problem is how to express my need. When I search for a given filename, Iwant the search stop searching the current branch when it finds a first occurence, BUT continue to search in other branches.
Here an example. This is my current directory:
dir1/Makefile dir2/ dir3/Makefile dir3/dira/Makefile dir4/dirb/Makefile
The result I want with
find Makefile is:
dir1/Makefile dir3/Makefile dir4/dirb/Makefile
I don't mind which script language to use, but I prefer an existing function in a script language instead of implementing my own.