LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-09-2004, 12:24 AM   #1
mufy
Member
 
Registered: Oct 2004
Location: Kuwait
Distribution: Currently - AIX | Previously - RHEL 4 ES, FC 10
Posts: 206
Blog Entries: 4

Rep: Reputation: 30
To search for files of a particular size


First of all, I'd like to find certain files with a particular pattern in their names. Then among those listed, I'd like to list only those with a minimum file size.

How can I get this done? Is there a single command with the usage of pipes, or do I have to carry out a sequence of command executions?

Regards,
Mufy
 
Old 12-09-2004, 12:44 AM   #2
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hi Mufy!

This command:
Code:
find /home -name '*mpeg' -size +10000k
will find all mpeg files in your /home with a size bigger than 10000 kilobytes. For more options on size, see
Code:
man find
Martin

Last edited by MartinN; 12-09-2004 at 12:46 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Search and Size eggoz Linux - Newbie 1 08-31-2005 10:17 PM
search for files based on file size fatrandy13 Linux - General 1 12-05-2004 10:47 PM
Search for Files vs. ls albean Linux - Newbie 2 11-14-2004 02:35 PM
Size of search engines the_imax General 3 08-08-2004 12:45 AM
increase point size size when printing PDF files newlin Red Hat 0 09-27-2003 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration