Forum Moderators: bakedjake
I have a directory with many sub-dirs.
I would like to ls all files ending in .html recursively.
I've tried
$> ls -R /path/to/dir/*.html
but it only lists from the parent dir not recursively through all the sub-dirs....
Any clues greatly appreciated ;)
<added>
Also I'd like to count these files...
</added>
Nick
added:
If you want a list of them you could do something like this:
find . -name "*.html" > temp.txt