I'm looking for a way to scan a directory recursively and print out all instances of any file that ends ".qfx". Thus, for a given directory:
somedir/
fizz.qfx
buzz.qfx
blah/
foo.qfx
widget.js
meh/
bar.qfx
derp.gif
The output would be:
somedir/fizz.qfx
somedir/buzz.qfx
somedir/blah/foo.qfx
somedir/blah/meh/bar.qfx
I'm on Ubuntu so no preference in shell, python, perl, etc. Best attempt so far is:
find -name ".qfx" somedir
But getting the following error:
find: paths must precede expression: .
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec][path...] [expression]
Any ideas? Thanks in advance!