I'm trying to list all JPG files inside a directory tree to create a report of JPG files inside this tree without search inside every directory one by one.
The command I'm using is this one:
ls -lhAR | grep jpg
The command didn't work as I spected because it just showed me the list of JPG files but didn't show me their path.
There's any way to acomplish what I'm looking for?