I've the following problem :
I have to write something to copy a file contained in directory A. The file is unique, and has a specific extension (.jil). Only problem, directory A can contains a sub-directory B (which can contain a sub-directory C, ...) and then my file won't be located in the directory A, but in one of his sub-directories.
What command can I use to find this file without exploring all my directoties ?
foo.jil
wherever it is withinA/
or do you want to only copyA/foo.jill
and notA/B/foo.jil
? – terdon♦ Nov 20 '13 at 14:28find
works by default, see my answer. – terdon♦ Nov 20 '13 at 14:34