How to find a list of all files that end in multiple extensions using the Linux command line

Use this command:

find /home/domain/public_html/ -type f -iname '*.jpg' -or -iname '*.pdf'

 

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top