find all files

I am trying to find all files ending in a particular file extension, ie all files ending with .pdf

find / -name “*.pdf”

this way you will only find files not directories and what not.

find / -name -type f “*.pdf”

 find / -print | grep -i pdf

Tags: , , ,