Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2003 10:55:53 -0500
From:      Mike Meyer <>
To:        "Michael Salsky" <>
Subject:   Re: Need to find files over a certain size.
Message-ID:  <>
In-Reply-To: <000001c3030c$9d6d6930$040013ac@goofy>
References:  <000001c3030c$9d6d6930$040013ac@goofy>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
In <000001c3030c$9d6d6930$040013ac@goofy>, Michael Salsky <> typed:
> I've read the man page on the 'find' command and couldn't find the
> answer. I'm wanting to find all files on the files system bigger than
> 100Mb.

You have to put two parts of the man page together. First, you need:

     -size n[c]
             True if the file's size, rounded up, in 512-byte blocks is n.  If
             n is followed by a c, then the primary is true if the file's size
             is n bytes (characters).

Then, later on, it says:

     All primaries which take a numeric argument allow the number to be pre-
     ceded by a plus sign (``+'') or a minus sign (``-'').  A preceding plus
     sign means ``more than n'', a preceding minus sign means ``less than n''
     and neither means ``exactly n''.

so you want "-size +200000" - give or take 24 parts in a thousand.

Mike Meyer <>
Independent Network/Unix/Perforce consultant, email for more information.

Want to link to this message? Use this URL: <>