Find a particular nesting of directory names, e.g. .../project/dir1/dir2

view story

http://unix.stackexchange.com – I'm having some issues dealing with the find command; I don't know the syntax for it very well and I need to use it in a script to find a specific directory structure that could be located anywhere. Basically, I have a structure like "project/dir1/dir2" that I know will always be exactly those three directories, with the same names, in that order. What may not be the same is how deep this structure is nested; for example you could have: $HOME/project/dir1/dir2 or $HOME/workspace/project/dir1/dir2 Basically I need a general way to locate the project/dir1/dir2 structure no matter how far d (HowTos)