Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-18-2006, 02:27 AM   #1
Registered: Jun 2004
Location: Gibbons, Alberta, Canada
Distribution: Fedora Core
Posts: 51

Rep: Reputation: 15
Finding multiple files with different extensions

Using CLI 'find' or Konqueror's 'find file' tool, how would I go about finding multiple files with different extensions.

For example, how would I find all the files in "/home" (and ALL subfolders), with .jpg AND .BMP extensions at the same time? I don't want to do a separate search for each. Such a simple thing can be so confusing....

Old 01-18-2006, 03:33 AM   #2
LQ Newbie
Registered: Jan 2005
Distribution: Debian
Posts: 15

Rep: Reputation: 0
You could use the command line with:

$ find . -name "*.jpg" -o -name "*.BMP"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
remove files excluding those with specified extensions Melsync Linux - General 17 08-14-2015 05:16 AM
files with extensions ;type=i santoshraju Linux - General 2 12-11-2004 10:31 AM
finding files in C++ poeta_boy Programming 2 07-11-2004 01:25 AM
Help I need help tarring multiple files in multiple directories VisionZ Linux - Newbie 28 03-25-2004 05:25 PM
file extensions ? types ? executable files ?? abbasakhtar Linux - Newbie 13 10-06-2003 05:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration