find /etc -size -1G return only empty files
Patrick O'Callaghan
pocallaghan at gmail.com
Thu Mar 25 17:13:55 UTC 2010
On Thu, 2010-03-25 at 13:04 -0400, Kevin J. Cummings wrote:
> > Note that this clarification is not present in the man page find(1).
> So
> > it's either a bug in find or a bug in the documentation.
>
> When I ran the command as "-size 1G", it returned all the files less
> than 1GB in size (I'm not sure if /etc *has* any files greater than
> 1GB!) So, I agree, its either a bug in the documentation or in find.
> Bugzilla it! Let's hear from the developers.
Are you sure? In my case it returned only the zero-length files, same as
what the OP reported. This is on F12, just in case.
poc
More information about the users
mailing list