LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 01-18-2006, 03:27 AM   #1
ExoZagNoid
Member
 
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....

Thanks,
Exo
 
Old 01-18-2006, 04:33 AM   #2
gmh04
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"
 
  


Reply


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 15 10-04-2005 02:42 PM
files with extensions ;type=i santoshraju Linux - General 2 12-11-2004 11:31 AM
finding files in C++ poeta_boy Programming 2 07-11-2004 02:25 AM
Help I need help tarring multiple files in multiple directories VisionZ Linux - Newbie 28 03-25-2004 06:25 PM
file extensions ? types ? executable files ?? abbasakhtar Linux - Newbie 13 10-06-2003 06:12 PM


All times are GMT -5. The time now is 07:11 PM.

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