Is there any equivalent command, or options for, GNU find that will search up the directory tree?  I'd like to look backwards through the tree for files with a given name.  For example, say I'm in /usr/local/share/bin and I want to search look for a file called foo.  Ideally I'd like the command to look for the file in the following order:/usr/local/share/bin/foo/usr/local/share/foo/usr/local/foo/usr/foo/fooI know that I can write something like this as a shell function, but I was hoping there would be a command as rich as gnu find that I could leverage.
Find command for lookup up a directory tree
find